jade-gist
Layouts and Mixins by Jade
Installation
npm i jade-gist
Usage
mixin
include mixin/all
layout
extend layout/basic
Use it by npm
npm i jade-gist editor views/index.jade # pretty build jade file jade -P -p node_modules/jade-gist/. < views/index.jade
Layout
If you use layout like layout/basic
- use
block
to replace the default value - use
append
to insert after block - use
prepend
to insert before block
Detail Jade Inheritance Reference