ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

WML

Adds support for the Wesnoth Markup Language.

Details

Installs

  • Total 68
  • Win 42
  • Mac 13
  • Linux 13
Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8
Windows 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Wesnoth Markup Language (WML)

Adds support for the Wesnoth Markup Language. Works with any color scheme.

Features

  • highlighting of WML tags, key=value pairs, seperators, comments
  • checks for matching parentheses, braces, brackets and quotes
  • knows about preprocessor instructions and can detect mistakes
  • highlights inline Lua

Code

If you miss something, or want to further expand it:

  • In Sublime Text, the code can be reached from Menu -> Preferences -> Browse Packages…
  • In the parallel folder »Installed Packages« is the Zip-archive WML.sublime-package. Extract it into »Packages«
  • The file contains many comments about the markup mechanics

How it looks

screenshot.png

… using the Breakers color scheme.
Lua code is detected by the »code« key and the strong quotes.