jade-gist
v1.0.5
Published
Layouts and Mixins by Jade
Downloads
854
Readme
jade-gist
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][downloads-url] [![Dependency Status][david-image]][david-url] [npm-image]: https://img.shields.io/npm/v/jade-gist.svg?style=flat-square [npm-url]: https://npmjs.org/package/jade-gist [downloads-image]: http://img.shields.io/npm/dm/jade-gist.svg?style=flat-square [downloads-url]: https://npmjs.org/package/jade-gist [david-image]: http://img.shields.io/david/chunpu/jade-gist.svg?style=flat-square [david-url]: https://david-dm.org/chunpu/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