Skip to content

Table of contents for long articles #31

Open
@moy

Description

@moy

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:

Any idea how to use TOC in darktable.org?

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions