Noosphere Possibilities Maximized

    malta-markdown-pdf

    1.0.9 • Public • Published

    npm version npm downloads npm downloads

    This plugin can be used on: .md

    Options :
    - paperFormat : default A4, choose among A3, A4, A5, Legal, Letter or Tabloid
    - paperOrientation : default portrait, choose among portrait or landscape
    - paperBorder : default 2cm, supported dimension units are: 'mm', 'cm', 'in', 'px'

    Sample usage:

    malta app/source/index.md public/docs -plugins=malta-markdown-pdf
    

    or in the .json file :

    "app/source/index.md" : "public/docs -plugins=malta-markdown-pdf"
    

    or in a script :

    var Malta = require('malta');
    Malta.get().check([
        'app/source/index.md',
        'public/docs',
        '-plugins=malta-markdown-pdf',
        '-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('=========');
        });

    Install

    npm i malta-markdown-pdf

    DownloadsWeekly Downloads

    65

    Version

    1.0.9

    License

    MIT

    Unpacked Size

    3.25 kB

    Total Files

    4

    Last publish

    Collaborators

    • fedeghe