You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a new file get-markdown-it-with-highlighter.ts that returns a markdown-it instance that is roughly comparable to the default marked instance. Call this from getHtml when configured with markdown-it.
Add required plumbing, tests and examples for how to use markdown-it extensions.
The text was updated successfully, but these errors were encountered:
Problem:
Marked is a fine markdown parser, but markdown-it is the parser used by Visual Studio Code, so there's a much larger number of plugins available.
When authoring markdown using Visual Studio Code, rendering using markdown-it would allow the preview to be a close approximation for the output pdf.
Solution:
BasicConfig
:get-markdown-it-with-highlighter.ts
that returns a markdown-it instance that is roughly comparable to the default marked instance. Call this from getHtml when configured with markdown-it.The text was updated successfully, but these errors were encountered: