Skip to content

fedeghe/malta-pug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


npm version npm downloads npm downloads

This plugin can be used on: .pug files

Options : no options

Sample usage:

malta app/source/home.pug public -plugins=malta-pug

or in the .json file :

"app/source/home.pug" : "public -plugins=malta-pug"

or in a script :

var Malta = require('malta');
Malta.get().check([
    'app/source/home.pug',
    'public',
    '-plugins=malta-pug',
    '-options=showPath:false,watchInterval:500,verbose:0'
    ]).start(function (o) {
        var s = this;
        console.log('name : ' + o.name)
        console.log("content : \n" + o.content);
        'plugin' in o && console.log("plugin : " + o.plugin);
        console.log('=========');
    });

About

malta plugin to get html files from pug files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published