diff options
Diffstat (limited to 'src/modules/markdown.js')
-rw-r--r-- | src/modules/markdown.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/modules/markdown.js b/src/modules/markdown.js new file mode 100644 index 0000000..9f0af45 --- /dev/null +++ b/src/modules/markdown.js @@ -0,0 +1,12 @@ +'use strict' + +const Markdown = require('markdown-it') + +const markdownOptions = { + html: true, + typographer: true +} + +const markdown = new Markdown(markdownOptions) + +module.exports = markdown.render.bind(markdown) |