Skip to content

Loopfirst/sublime-swig

 
 

Repository files navigation

sublime-swig

Syntax highlighting for Swig Templates in Sublime Text.

Syntax changed from default to:

varControls: ['{{', '}}'] ==> ['<%=', '%>']
tagControls: ['{%', '%}'] ==> ['<%', '%>']
cmtControls: ['{#', '#}'] ==> ['<#', '#>']

Companion to Monokai Extended and sublime-markdown-extended.

I'm working on getting this published so you can install it using Package Control, but for now to use this in Sublime Text, go to Sublime Text 3/Packages and:

git clone https://github.com/jonschlinkert/sublime-swig.git .

Next in Sublime Text, from the toolbar select the following: View > Syntax > Open all with current extension as... > Swig.

More info coming soon...

Examples

Basic highlighting

image

With YAML front matter

image

Related projects

Author

Jon Schlinkert

Copyright and license

Copyright (c) 2013 Jon Schlinkert Licensed under the MIT License (MIT)

About

Swig template syntax highlighting for Sublime Text.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published