enable some useful markdown extensions and typography improvements

mainline
Trolli Schmittlauch 9 months ago
parent c46ef5b2bf
commit 74b6c9df5c
  1. 13
      pelicanconf.py

@ -19,6 +19,8 @@ ARTICLE_URL = 'blog/{slug}.html'
ARTICLE_SAVE_AS = 'blog/{slug}.html'
CUSTOM_CSS = "static/custom.css"
# enable typography pre-processing for nicer appearance
TYPOGRIFY = True
TIMEZONE = 'Europe/Berlin'
@ -64,6 +66,17 @@ DEFAULT_PAGINATION = 10
#RELATIVE_URLS = True
# Multilang
MARKDOWN = {
'extension_configs': {
'markdown.extensions.codehilite': {'use_pygments': True},
'markdown.extensions.fenced_code': {},
'markdown.extensions.footnotes': {},
'markdown.extensions.tables': {},
'markdown.extensions.attr_list': {},
},
'output_format': 'html5',
}
DEFAULT_LANG = 'de'
OG_LOCALE = "de_DE"
LOCALE = ("de_DE", "de_DE.utf8")

Loading…
Cancel
Save