From 2fe034aef52a76b8a6a8a2226b714a7fc20766dd Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sat, 29 Jun 2019 15:02:14 -0400 Subject: [PATCH] Use Markdown typographer (auto-generates smart quotes) --- lib/markdown.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/markdown.ts b/lib/markdown.ts index 1e212b3..4db8e2b 100644 --- a/lib/markdown.ts +++ b/lib/markdown.ts @@ -3,7 +3,8 @@ import * as util from "./util"; const md = new MarkdownIt({ highlight: util.highlight, - html: true + html: true, + typographer: true }); export function render(text: string): string {