ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Jade

by davidrios ST2/ST3 Top 100

A comprehensive textmate / sublime text bundle for the Jade template language.

Details

  • 2016.09.11.21.36.23
  • github.​com
  • github.​com
  • 1 year ago
  • 31 minutes ago
  • 6 years ago

Installs

  • Total 246K
  • Win 108K
  • OS X 93K
  • Linux 46K
Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10
Windows 41 54 62 63 67 86 84 55 55 75 106 64 74 61 45 55 59 74 64 72 64 38 32 79 54 62 44 74 34 43 58 61 66 56 51 29 47 71 72 83 71 69 32 44 52 77
OS X 12 12 32 26 43 36 34 28 24 41 53 31 28 30 14 18 22 27 45 38 40 19 19 38 31 18 26 31 20 25 27 30 34 46 38 18 14 35 19 27 39 32 22 19 35 39
Linux 14 7 24 16 12 28 19 13 14 18 26 12 22 13 10 8 9 23 19 15 17 13 8 21 18 21 13 17 8 10 15 16 19 14 23 9 10 14 11 23 19 22 11 12 9 8

Readme

Source
raw.​githubusercontent.​com

Jade.tmbundle

This was made specifically for Sublime Text 2, but was tested and works with Textmate 2 and Sublime Text 3

A TextMate Bundle for the Jade templating language. Implemented in JSON-tmLanguage, a compiled tmLanguage version is included. All language features that I know of (including some undocumented ones and quircks of the Jade parser) and some indent increase/decrease patterns are implemented.

A test.jade file is included for testing, it is a valid file, so you can compile it with jade to check its output.

A test_errors.jade file is also included for testing some syntax/semantic errors that are highlighted.

A highlighter using Python instead of JavaScript is also included for use with PyJade, you can either manually select Jade (Python) from the syntaxes list or give your file the extension .py.jade to select automatically (only on Sublime Text). Also included is a test.py.jade file that can be compiled with pyjade to test it.

Installation

Using Package Control in SUblime Text 2/3

Package control is a package manager for Sublime Text extensions (think of it like “apt-get” for Sublime Text). If you haven't already, install Package Control into your instance of Sublime Text and restart. Choose Package Controll: Install Package (press Ctrl/Cmd + p and then type pi), search for package named Jade and install. Restart if you cannot select “Jade” from syntax highlighter menu.

TextMate 2

mkdir -p ~/Library/Application\ Support/TextMate/Managed/Bundles
cd ~/Library/Application\ Support/TextMate/Managed/Bundles
git clone https://github.com/davidrios/jade-tmbundle.git Jade.tmbundle

Sublime Text manual installation

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

Replace '2' with '3' in case of Sublime Text 3.

Patches for additions are always welcome.