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
  • 11 months ago
  • 48 minutes ago
  • 5 years ago

Installs

  • Total 241K
  • Win 105K
  • OS X 91K
  • Linux 45K
Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12
Windows 18 72 76 77 42 48 67 75 94 74 68 45 56 62 75 73 71 80 42 40 73 77 77 75 81 47 32 68 68 98 76 73 51 49 69 83 96 82 62 48 48 72 83 63 82 79
OS X 8 43 40 31 25 25 30 43 45 41 42 22 14 22 45 32 48 42 19 19 32 52 36 41 35 28 23 27 40 37 51 37 20 20 43 37 43 40 35 23 19 40 41 51 59 52
Linux 5 15 19 19 20 16 18 23 26 22 17 13 13 13 27 18 22 21 7 13 17 17 25 17 22 13 18 21 18 18 16 18 13 12 15 26 23 18 13 17 15 9 19 28 24 30

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.