import MarkdownIt from "markdown-it"; import * as util from "./util"; const md = new MarkdownIt({ highlight: util.highlight, html: true }); export function render(text: string): string { return md.render(text); }