FEATURE: Site setting for typographic quotation marks

Adds locale defaults for German and French
This commit is contained in:
Gerhard Schlager
2019-07-11 23:15:35 +02:00
parent 1d38040579
commit 9a11a8b33b
5 changed files with 38 additions and 1 deletions

View File

@@ -287,7 +287,8 @@ export function setup(opts, siteSettings, state) {
breaks: opts.discourse.features.newline,
xhtmlOut: false,
linkify: siteSettings.enable_markdown_linkify,
typographer: siteSettings.enable_markdown_typographer
typographer: siteSettings.enable_markdown_typographer,
quotes: siteSettings.markdown_typographer_quotation_marks.split("|")
});
opts.engine.linkify.tlds(