[gimp-web/pat/py3] Fix headerid links for markdown
- From: Pat David <patdavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/pat/py3] Fix headerid links for markdown
- Date: Fri, 7 Feb 2020 18:56:37 +0000 (UTC)
commit 84561916c12e0dabfa5cfb703b4a9e945a66416c
Author: Pat David <patdavid gmail com>
Date: Fri Feb 7 12:22:04 2020 -0600
Fix headerid links for markdown
pelicanconf_common.py | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/pelicanconf_common.py b/pelicanconf_common.py
index b7d84713..8a93b614 100644
--- a/pelicanconf_common.py
+++ b/pelicanconf_common.py
@@ -182,11 +182,13 @@ MARKDOWN = {
'extension_configs': {
'markdown.extensions.codehilite': {'css_class': 'highlight'},
'markdown.extensions.fenced_code': {},
- 'markdown.extensions.codehilite': {},
'markdown.extensions.extra': {},
- 'markdown.extensions.toc': {}
+ 'markdown.extensions.meta': {},
+ 'markdown.extensions.toc': {
+ 'permalink': True,
+ },
},
- 'output_format': 'html5'
+ 'output_format': 'html5',
}
# Pagination testing stuff
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]