Hackable CLI tool for converting Markdown files to PDF using Node.js and headless Chrome.
puppeteer@10
drops node 10 support which is why the required engine is now node >= 12.0.puppeteer
version is now 8.0.0 because it ships its own interfaces with some breaking changes.highlight.js@11
has some breaking changes that might affect PDF output slightly.No changes, just updated a lot of dependencies.
The new page-media-type config option had incorrect case, it's now page_media_type
so that the CLI flag --page-media-type
will actually work.
This release had an issue with the new option that was introduced and was not actually published to npm.
Adds a new pageMediaType
option (or --page-media-type
flag) that can either be screen
(default) or print
, if you want to use print styles.
Updates dependencies, including marked
which fixes a bug with emphasis when using asterisks. Thanks @petergardfjall for pointing that out!
Just updated dependencies.