Use pelican 4 syntax instead to define markdown extensions

This commit is contained in:
kleph 2019-09-08 17:50:33 +02:00
parent dd3b1d20ab
commit 8ddd78a0d9

View file

@ -34,6 +34,16 @@ DEFAULT_PAGINATION = 10
#MARKUP = [ 'asc', 'asciidoc' ]
MARKUP = ['mdown']
MD_EXTENSIONS = ['codehilite(css_class=highlight)', 'extra', 'toc']
#MD_EXTENSIONS = ['admonition', 'codehilite(css_class=highlight)', 'extra', 'toc']
MARKDOWN = {'extension_configs': { 'markdown.extensions.codehilite': {'css_class': 'highlight'},
'markdown.extensions.extra': {},
'markdown.extensions.meta': {},
'markdown.extensions.toc': {}},
'output_format': 'html5'}
#TYPOGRIFY = True
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True