@mikroways/md2pdf-theme
v1.0.1
Published
Mikroways md2pdf themes
Downloads
14
Readme
mikroways md2pdf theme
This module exposes md-to-pdf configuration to be used with Mikroways theme.
Usage
Install this package with npm:
npm i --save @mikroways/md2pdf-theme
And it will install md-to-pdf as dependency and provides a script to be used as its configuration:
curl -o /tmp/sample.md -L \
https://raw.githubusercontent.com/Mikroways/md2pdf-theme/main/README.md
node_modules/.bin/md-to-pdf \
--document-title "Test document" \
--config-file node_modules/@mikroways/md2pdf-theme/config.js \
/tmp/sample.md
Output pdf will be at /tmp/sample.pdf