Syntax highlighting for Jade in Sublime Text 2?

后端 未结 9 1927
无人及你
无人及你 2020-12-12 10:25

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 in

9条回答
  •  青春惊慌失措
    2020-12-12 11:03

    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
    

提交回复
热议问题