about summary refs log tree commit diff stats
path: root/src/modules/markdown.js
blob: 9f0af45e2fb7088c384d51586253908382e345b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
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)