fis3-parser-pug

3.1.0 • Public • Published

fis3-parser-pug

a fis plugin to parse pug(aka jade).

styled with prettier npm npm npm

install

npm install --global fis3-parser-pug

usage

// fis-conf.js

const pugConf = {
  doctype: 'html', // default html
  pretty: '  ', // default '  '
  .. more
};

fis.match('*.{pug,jade}', {
  parser: fis.plugin('pug', pugConf);
});

more options: https://pugjs.org/api/reference.html

default options

{
  "pretty": "  ",
  "doctype": "html"
}

NOTICE: this might change in future

links

license

MIT © fisker Cheung

Package Sidebar

Install

npm i fis3-parser-pug

Weekly Downloads

1

Version

3.1.0

License

MIT

Unpacked Size

3.8 kB

Total Files

4

Last publish

Collaborators

  • fisker