Just added a table of contents to the (still woefully incomplete) Reference section of the Kitten web site.
https://kitten.small-web.org/reference/
If you’re using Markdown pages in your Kitten site, you can add an auto-generated TOC by adding `[toc]` to any page.
Also, added a lovely skip to content link that appears on focus.
Technique courtesy https://www.makethingsaccessible.com/guides/creating-a-skip-to-content-link/
@aral Not complaining, just wondering: why [toc] not {toc}? I believe I've seen the latter but not the former
@ctietze It’s the default of the Markdown.it plugin I’m using in Kitten (https://github.com/nagaozen/markdown-it-toc-done-right?tab=readme-ov-file#markdown-it-toc-done-right)
Also fits with some of the other additions I made (e.g,. [code] as alias for backticks when adding markdown directly to JS template strings) so it’s internally consistent :)