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.16k stars 110 forks source link

Use `highlight` option to enable highlighting #115

Closed dyllan-to-you closed 2 years ago

dyllan-to-you commented 2 years ago

Ref: #114

Previously modified code function of renderer which made the use of custom renderers kinda buggy.

Now actually utilizes the highlight option.

If a user wishes to customize the code renderer while still utilizing highlighting, see the marked implementation for reference