Tagged template based Markdown-to-entities parser function
Additionally, md function has two static methods:
md.escape - escape a string to be safely used in Markdown
(should not be needed in most cases, as md function itself handles all strings
passed to it automatically as plain text)
md.unparse - add Markdown formatting to the text given the plain text and entities contained in it
Tagged template based Markdown-to-entities parser function
Additionally,
md
function has two static methods:md.escape
- escape a string to be safely used in Markdown (should not be needed in most cases, asmd
function itself handles allstring
s passed to it automatically as plain text)md.unparse
- add Markdown formatting to the text given the plain text and entities contained in it