FEATURE: site setting for Markdown typographer

It ships anyway with markdown.it so we might as well expose it
This commit is contained in:
Sam
2017-06-27 16:50:13 -04:00
parent 0d62420cbe
commit 4c5109ff5b
4 changed files with 12 additions and 1 deletions

View File

@ -133,7 +133,7 @@ export function setup(opts, siteSettings, state) {
breaks: opts.discourse.features.newline,
xhtmlOut: false,
linkify: true,
typographer: false
typographer: siteSettings.enable_markdown_typographer
});
setupHoister(opts.engine);