Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A comprehensive textmate / sublime text bundle for the Jade template language.
Python Shell
branch: master

This branch is 44 commits ahead, 28 commits behind davidrios:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Commands
Preferences
Syntaxes
test_jades
.gitignore
Jade.py
Jade.sublime-commands
Jade.sublime-settings
README.md
html_to_jade.py
info.plist

README.md

Jade.tmbundle

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

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

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 2

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

Jade

Install Jade: http://jade-lang.com/

For nodejs:

npm install -g jade

html2jade

See: https://github.com/donpark/html2jade

npm install -g html2jade

Patches for additions are always welcome.

Something went wrong with that request. Please try again.