This is an automated email from the ASF dual-hosted git repository. wave pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/petri-site.git
The following commit(s) were added to refs/heads/master by this push: new 7b374bb Configure MARKDOWN 7b374bb is described below commit 7b374bb26c468d55d8b0354c013204025625f0d0 Author: Dave Fisher <dave2w...@comcast.net> AuthorDate: Fri Apr 9 09:14:58 2021 -0700 Configure MARKDOWN --- pelicanconf.py | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/pelicanconf.py b/pelicanconf.py index 9d74f59..4dea718 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -75,7 +75,24 @@ AUTHOR_FEED_RSS = None # Pelican Plugins # The provided location. If the buildbot does not have a new plugin then look into requirements.txt PLUGIN_PATHS = ['./theme/plugins'] -PLUGINS = ['toc', 'pelican-gfm', 'attr_list', 'sitemap'] +PLUGINS = ['toc', 'pelican-gfm', 'sitemap'] + +# Markdown Configuration +MARKDOWN = { + 'extension_configs': { + 'markdown.extensions.extra': {}, + 'markdown.extensions.admonition': {}, + 'markdown.extensions.codehilite': { + 'css_class': 'highlight' + }, + 'smarty' : { + 'smart_angled_quotes' : 'true' + }, + 'markdown.extensions.toc': { + 'permalink': 'true', + }, + } +} # TOC Generator TOC_HEADERS = r"h[1-6]"