diff options
Diffstat (limited to 'pelicanconf.py')
-rw-r--r-- | pelicanconf.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pelicanconf.py b/pelicanconf.py index 8efbade..e0998c0 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -60,12 +60,17 @@ MENUITEMS = [("Home" , "/index.html"), ("Series", "/tags.html")] # Markdown extras MARKDOWN = { 'extension_configs': { + 'markdown.extensions.footnotes': {}, + 'markdown.extensions.tables': {}, 'markdown.extensions.codehilite': { 'css_class': 'highlight', - 'noclasses': True, + 'use_pygments': False, + # Pygments breaks the semantics of the HTML inserting `span` + # elements in a `pre` instead of a `pre` with `code` inside. + # The theme uses optional JS for this (prismjs.com), this way + # semantics are mantained. + # See also: https://github.com/getpelican/pelican/issues/2569 }, - 'markdown.extensions.footnotes': {}, - 'markdown.extensions.tables': {}, # optionally, more extensions, # e.g. markdown.extensions.meta }, |