Open
Description
For the darktable 2.6 article (#25), I'd like to have a table of contents at the top (the article is around 30-screens long ...).
Appartently, there's a way to do that with Pelican and it seems at least partly-activated in pelicanconf.py:
# toc(permalink=True) sets all headers to have an id
# set, and an <a> after the heading.
# see: http://pythonhosted.org/Markdown/extensions/toc.html
MARKDOWN = {
'extension_configs' : {
#'markdown.extensions.fenced_code' : {},
#'markdown.extensions.codehilite' : {'css_class': 'codehilite'},
'markdown.extensions.extra' : {},
'markdown.extensions.headerid' : {},
'markdown.extensions.toc(permalink=)' : {}
}
}
Unfortunately:
-
Adding
[TOC]
in the .md files only results in having[TOC]
displayed in the article :-( -
The page linked to is broken currently down, but it's still available as https://web.archive.org/web/20170513185232/http://pythonhosted.org/Markdown/extensions/toc.html
Any idea how to use TOC in darktable.org?
Thanks,
Metadata
Metadata
Assignees
Labels
No labels