I just started using Sublime Text 2 on Mac. I also just started using Jade for my views in Node.js, and am wondering if there is a way to add syntax highlighting for Jade into Sublime Text 2.
相关问题
- How to run code in Sublime text 2 python
- How to pass variables to Pug's `script.` block
- Jade template each loop to include jade file
- Not able to run selected lines in REPL R in sublim
- Pug dynamic image src interpolation
相关文章
- How to specify bold font in VS Code editor?
- Lauch default editor (like 'webbrowser' mo
- How to disable autocompletion for quotation marks
- trouble getting sublime to execute with linux term
- NVM cannot load default node with default alias se
- Automatically select pasted text in Sublime Text 3
-
Perl with Sublime Text 2:
not working - Include Angular into Hackathon-Starter
If you have git installed, this worked perfectly for me:
Bonus to get stylus syntax highlighting working run:
Sublime Text 2 supports Textmate syntax definition files. There is a Jade Textmate bundle at https://github.com/miksago/jade-tmbundle.
Install by creating a new folder in your Sublime Text "Packages" folder, call the new folder
Jade
, thencurl -O https://raw.github.com/miksago/jade-tmbundle/master/Syntaxes/Jade.tmLanguage
or otherwise download that file into the new folder. The editor will load the syntax immediately.@jurka -
~/Library/Application Support/Sublime Text 2/Packages/
~/.Sublime Text 2/Packages/
%APPDATA%/Sublime Text 2/Packages/
Clone into the path shown above for linux.