@mikroways/md2pdf-theme

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i @mikroways/md2pdf-theme

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

363 kB

Total Files

8

Last publish

Collaborators

  • lucasdc
  • chrodriguez