use smarty markdown extension for dashes, ellipses

This commit is contained in:
2021-02-11 19:00:36 -06:00
parent 56eb767e33
commit e6d2015de5
2 changed files with 17 additions and 7 deletions

View File

@@ -32,13 +32,19 @@ class Config(object):
},
}
MARKDOWN_EXTENSIONS = ['extra', 'mdx_linkify', 'tables']
MARKDOWN_EXTENSIONS = ['extra', 'mdx_linkify', 'smarty', 'tables']
MARKDOWN_EXTENSION_CONFIGS = {
'extra': {
'footnotes': {
'UNIQUE_IDS': True,
},
}
},
'smarty': {
'smart_dashes': True,
'smart_quotes': False,
'smart_angled_quotes': False,
'smart_ellipses': True,
},
}
DEFAULT_PAGE_STYLE = 'light'