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
Why yes, there is! And it uses a nice packaging system too:
You now have syntax highlighting for Jade and a nifty package controller for other Sublime goodies. This search shows a lot of available tools for working with Jade, Jade+Bootstrap, pyjade, etc
Edit - Sublime doesn't need to be restarted after installing this package so this step was removed.
The accepted answer refers to a plugin that is deprecated and no longer active. For those who are still looking for a supported Jade plugin for Sublime Text, you should use this repo:
https://github.com/davidrios/jade-tmbundle
This is also on Package Control:
https://packagecontrol.io/packages/Jade
If you are on Mac:
Go to Library/Applciation Support/Sublime Text 2/Packages/ then,
For ubuntu 11.10 correct path to packages for me is ~/.config/sublime-text-2/Packages You can easily find your packages location using Menu: "Preferences" -> "Browse Packages..."
I've made the following on linux
ST2 build 2221
:Then
Jade is also available via the Sublime Package Control.