You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by ss...@apache.org on 2022/11/09 12:24:10 UTC

[xmlgraphics-website] branch master updated: Fix TOC links

This is an automated email from the ASF dual-hosted git repository.

ssteiner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/xmlgraphics-website.git


The following commit(s) were added to refs/heads/master by this push:
     new adfa4c14 Fix TOC links
adfa4c14 is described below

commit adfa4c14dabf5c8bd8ac21a6df4f85a1d29f933c
Author: ssteiner <ss...@apache.org>
AuthorDate: Wed Nov 9 12:24:00 2022 +0000

    Fix TOC links
---
 pelicanconf.py | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/pelicanconf.py b/pelicanconf.py
index a1646cc4..ac5ff8af 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -72,6 +72,12 @@ for root, _, _ in os.walk(PATH):
     for adir in ['css', 'js', 'images', 'fo', 'svg', 'schema', 'stylesets', 'demo', 'javadoc']:
         STATIC_PATHS.append(os.path.join(root, adir).replace(PATH + os.sep, ''))
 
-#MARKDOWN = {
-#    'extensions': ['mdx_include']
-#}
+MARKDOWN = {
+    'extension_configs': {
+        'markdown.extensions.codehilite': {'css_class': 'highlight'},
+        'markdown.extensions.extra': {},
+        'markdown.extensions.meta': {},
+        'markdown.extensions.toc': {},
+    },
+    'output_format': 'html5',
+}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org