simonhaenisch / md-to-pdf

Hackable CLI tool for converting Markdown files to PDF using Node.js and headless Chrome.
https://www.npmjs.com/md-to-pdf
MIT License
1.2k stars 110 forks source link

feat: pass custom extension to marked #127

Closed LachlanNewman closed 2 years ago

LachlanNewman commented 2 years ago

Ths PR allows the user to pass a custom extension to the marked parser. see https://marked.js.org/using_pro#extensions

simonhaenisch commented 2 years ago

Hey sorry somehow I never got around to releasing this 🙈 I just did, so with 5.2.0 this should be available now.