fis3-parser-pug
v3.1.0
Published
a fis plugin to parse pug(aka jade).
Downloads
30
Maintainers
Readme
fis3-parser-pug
a fis plugin to parse pug(aka jade).
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
fis3: http://fis.baidu.com/
pug: https://pugjs.org/
license
MIT © fisker Cheung