enabled pretty quotation marks
This commit is contained in:
parent
25a706836f
commit
1bce64b722
@ -122,7 +122,23 @@ IMAGE_PROCESS = {
|
||||
"card": ["scale_in 350 100% True"]
|
||||
}
|
||||
|
||||
|
||||
# enable smarty extension and configure it to substitute quotation marks
|
||||
MARKDOWN = {
|
||||
'extension_configs': {
|
||||
'markdown.extensions.codehilite': {'css_class': 'highlight'},
|
||||
'markdown.extensions.extra': {},
|
||||
'markdown.extensions.meta': {},
|
||||
'smarty': {
|
||||
'substitutions': {
|
||||
'left-single-quote': '‚',
|
||||
'right-single-quote': '‘',
|
||||
'left-double-quote': '„',
|
||||
'right-double-quote': '“'
|
||||
}
|
||||
},
|
||||
},
|
||||
'output_format': 'html5',
|
||||
}
|
||||
|
||||
|
||||
###############################################################################
|
||||
|
||||
Loading…
Reference in New Issue
Block a user