From 8bd09e58cb41be7f2e3468ac67b9fea9981395f0 Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Wed, 28 Jul 2021 23:55:22 -0400 Subject: [PATCH] Smartypants setting to show left and right quote marks. --- shared/naturalcrit/markdown.js | 1 + 1 file changed, 1 insertion(+) diff --git a/shared/naturalcrit/markdown.js b/shared/naturalcrit/markdown.js index 0d5d67e09..a154d6631 100644 --- a/shared/naturalcrit/markdown.js +++ b/shared/naturalcrit/markdown.js @@ -228,6 +228,7 @@ const definitionLists = { Markdown.use({ extensions: [mustacheSpans, mustacheDivs, mustacheInjectInline, definitionLists] }); Markdown.use(mustacheInjectBlock); +Markdown.use({ smartypants: true }); //Fix local links in the Preview iFrame to link inside the frame renderer.link = function (href, title, text) {