Md To Pdf Versions Save

Hackable CLI tool for converting Markdown files to PDF using Node.js and headless Chrome.

v5.2.4

1 year ago

5.2.4 (2023-04-04)

Bug Fixes

  • do not emit process title to stdout (#179) (de05e99) ... because of stdio mode. Thanks @ltvolks for the fix!

v5.2.3

1 year ago

5.2.3 (2023-03-11)

Bug Fixes

  • regression from using .replaceAll which isn't available in Node 14 (018b52e)

v5.2.2

1 year ago

5.2.2 (2023-03-11)

Bug Fixes

  • generation of relative pathname in the browser (90a1aaa), closes #150

v5.2.1

1 year ago

5.2.1 (2022-12-18)

Bug Fixes

  • create one browser instance per programmatic API call (eb86ef0), closes #146 (this fixes a problem with the browser instance not closing when using the programmatic API which would cause the process to hang)

v5.2.0

1 year ago

5.2.0 (2022-11-06)

Performance

  • improve performance for concurrent conversions by re-using browser context (#141) (221821d) — thanks to @chamabreu for all the help!

Features

  • allow passing custom extensions to marked (#127) (d790b2b)

Bug Fixes

  • closeServer rejects when server.close has an error (7a4a142)

v5.1.0

2 years ago

5.1.0 (2022-01-28)

Features

  • switch to highlight option instead of overwriting renderer.code (#115) (acee2f8), closes #114. Thanks to @dyllan-to-you for the PR!

v5.0.2

2 years ago

5.0.2 (2022-01-21)

Bug Fixes

  • upgrade marked to prevent GHSA-rrrm-qjm4-v8hf (80083a8), closes #112

v5.0.1

2 years ago

5.0.1 (2021-11-17)

Bug Fixes

  • remove !important from code-block bg color (01ab732), closes #103

v5.0.0

2 years ago

https://github.com/simonhaenisch/md-to-pdf/compare/v4.1.0...v5.0.0

⚠ BREAKING CHANGES

  • If you previously used JavaScript in front-matter, you'll now have to set --gray-matter-options 'null' (or gray_matter_options: undefined) to overwrite the new default options that disable the JS engine.

Bug Fixes

  • disable JS engine for front-matter by default to prevent RCE (a716259), closes #99

v4.1.0

2 years ago

https://github.com/simonhaenisch/md-to-pdf/compare/v4.0.1...v4.1.0

Features

  • add the option to set the document title (#100) (519fbc9)