1.0.9 • Published 6 years ago

malta-markdown-pdf v1.0.9

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

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('=========');
    });
1.0.9

6 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago