diff --git a/pelicanconf.py b/pelicanconf.py index fadad6ab0..684ab351e 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -31,7 +31,22 @@ DEFAULT_PAGINATION = 100 # Uncomment following line if you want document-relative URLs when developing PLUGIN_PATHS = ['./pelican-plugins', './plugins-custom'] PLUGINS = ['dateish', 'extract_toc', 'i18n_subsites', 'summary', 'events-ics','complex_footnotes', 'stream', 'thumbnailer'] -MARKDOWN = ['codehilite','extra','toc'] +MARKDOWN = { + 'codehilite','extra','toc' + +} + +MARKDOWN = { + 'extension_configs': { + 'markdown.extensions.codehilite': {'css_class': 'highlight'}, + 'markdown.extensions.extra': {}, + 'markdown.extensions.meta': {}, + 'markdown.extensions.toc': { + 'marker': '[TOC]', + }, + }, + 'output_format': 'html5', +} STATIC_PATHS = ['extra/favicon.ico', 'images', 'pdfs', 'stream'] EXTRA_PATH_METADATA = {