diff options
author | Unknwon <u@gogs.io> | 2017-03-10 23:30:40 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-03-10 23:30:40 -0500 |
commit | ac8b1e595fa7ace7e2539276355954b2dceeb388 (patch) | |
tree | f343648f9130b7a9dcdf2436f6836a8a757d2689 /conf | |
parent | 31c55213ff480f9a21ea4e4b5ea3add6bc8d3c3f (diff) |
markdown: support Smartypants (#4162)
Added new config section '[smartypants]', and disabled by default.
Diffstat (limited to 'conf')
-rw-r--r-- | conf/app.ini | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini index 00efda50..99f83805 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -124,6 +124,13 @@ CUSTOM_URL_SCHEMES = ; Separate extensions with a comma. To render files w/o extension as markdown, just put a comma FILE_EXTENSIONS = .md,.markdown,.mdown,.mkd +[smartypants] +ENABLED = false +FRACTIONS = true +DASHES = true +LATEX_DASHES = true +ANGLED_QUOTES = true + [http] ; Value for Access-Control-Allow-Origin header, default is not to present ACCESS_CONTROL_ALLOW_ORIGIN = |