AsciiDoc TableOfContents is broken when headings contain inline formatting
AsciiDoc TableOfContents is broken when headings contain inline formatting: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). I'm using Hugo with the asciidocext content format (Asciidoctor installed) and rendering {{ .TableOfContents }} in my single page template. Most of my…
The task
I'm using Hugo with the asciidocext content format (Asciidoctor installed) and rendering {{ .TableOfContents }} in my single page template. Most of my headings work fine, but as soon as a heading contains inline formatting — usually inline code with backticks — the TOC comes…
Part of XiaomiMiMo/MiMo-V2.6-RL-oss.