Use pelican 4 syntax instead to define markdown extensions
This commit is contained in:
parent
dd3b1d20ab
commit
8ddd78a0d9
1 changed files with 11 additions and 1 deletions
|
@ -34,6 +34,16 @@ DEFAULT_PAGINATION = 10
|
||||||
|
|
||||||
#MARKUP = [ 'asc', 'asciidoc' ]
|
#MARKUP = [ 'asc', 'asciidoc' ]
|
||||||
MARKUP = ['mdown']
|
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
|
# Uncomment following line if you want document-relative URLs when developing
|
||||||
RELATIVE_URLS = True
|
RELATIVE_URLS = True
|
||||||
|
|
Loading…
Reference in a new issue