fis3-parser-pug

a fis plugin to parse pug(aka jade).

Usage no npm install needed!

<script type="module">
  import fis3ParserPug from 'https://cdn.skypack.dev/fis3-parser-pug';
</script>

README

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