Syntax highlighting for Jade in Sublime Text 2?

James Simpson picture James Simpson · Oct 5, 2011 · Viewed 50.7k times · Source

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.

Answer

daniellmb picture daniellmb · Feb 2, 2012

If you have git installed, this worked perfectly for me:

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
git clone https://github.com/davidrios/jade-tmbundle Jade

Bonus to get stylus syntax highlighting working run:

git clone https://github.com/stylus/stylus.git Stylus