Adding a TOC to a markdown file

After reading the WIKI now has TOC, I wondered if there was a way to do this in Markdown docs. After digging a bit, I found you can add the following:

gitea: none
include_toc: true

See video:

Not sure if this is the best way – seems support for a [[TOC]] tag would be nice someday.

1 Like