Use case or problem
I use links in my headings and sometimes also styling (italics) or
code. Currently, the TOC is made up of the raw text from the headings which doesn’t look pretty.
The TOC shouldn’t be parsed like the heading in the file itself, the headings in the TOC should be stripped of all (external and internal) links and also styling.
I don’t have an idea for
codeblocks yet, perhaps they should also be stripped of the `` because I think it wouldn’t look good in the TOC.