EJS.tmLanguage
EJS.tmLanguage copied to clipboard
An EJS syntax definition specifically for sublime text
The EJS Sublime Package
A lightweight Sublime Text package for EJS.
Installation & Use
Use Package Control to install EJS in Sublime Text.
Once installed, all .ejs
files are opened using the EJS
syntax by default.
Snippets
The following snippets are supported in the HTML scope.
=
+ Tab
Inserts EJS open and closing tags (<%= %>
). Press tab again to move selection ahead and accept the =
character, or press spacebar to delete the =
character.
if
+ Tab
Inserts EJS open and closing tags with JavaScript if and else statements (<% if (condition) { } else { } %>
).
Support
Please provide feedback and issues here.
Pull request are wellcome and donations are also appreciated.