Topic on Extension talk:WikiMarkdown

Is it possible to use MediaWiki's table of contents?

2
2601:644:8B00:1EC0:40BC:FD69:62AC:1E08 (talkcontribs)

If I include a Markdown with multiple levels of headers (e.g. `#`, `##`...), the headers do not appear in MediaWiki's automatically generated table of contents (only those headers defined outside the `<markdown>` tags appear).

Is it possible to also include headers inside the Markdown using this extension? There's the `toc` option in Parsdown Extended but that generates a TOC inline at the top of the page which is separate from the regular MediaWiki table of contents.

Kuenzign (talkcontribs)

No, sadly this is not currently possible. To my knowledge, making changes to a page's ToC would require modifications to the core MediaWiki software.

Reply to "Is it possible to use MediaWiki's table of contents?"