mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 01:56:58 +08:00
FEATURE: site setting for Markdown typographer
It ships anyway with markdown.it so we might as well expose it
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user