require-markdown
Loads Markdown files as compiled HTML string synchronously (as Node require
)
Motivation
This module suppose to be used in build systems, etc, where you prefer to store texts as Markdown files. Uses markdown-it for rendering with emoji, subscript, superscript, comments stripping and abbr plugins enabled.
Usage
const requireMarkdown = markdownItOptions = typographer: true ; const htmlString = ; // => '<h1>require-markdown</h1>' ....