Add support for tables of contents in articles #1
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "lucidiot/tilde-wiki:toc-extension"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In the #javapool article, ~m455 used vim-markdown-toc to add a nice little table of contents. This probably works with most Markdown flavors including Pandoc, but the Python Markdown package is pretty strict to the original Markdown spec (not even following CommonMark 😢) and does not add
id
attributes to titles, so clicking any link in this TOC will not work at all.This just adds the official TocExtension from the package so we can add
[TOC]
to any Markdown file and get that table of contents withid
attributes on titles.Sounds good, lucidiot!
Checkout
From your project repository, check out a new branch and test the changes.