Make markdown renderer injectable #10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "injectMarkdown"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This introduces a config option
markdownRendererwhich specifies a module used for markdown rendering.Maybe push the code highlighting down into the rendering module as well, and provide the default renderer as a separate file?
Marked is awful, by the way, maybe markdown-it (which didn't exist when when I wrote this) is a better default.
Sure (both), I just wanted to be minimally invasive. I switched to
markdown-itlocally.I switched to
markdown-itand the diff for your blog looked good to me.