Skip to content

Headings containing colon-delimited words don't render properly in the TOC. Docusaurus or Remark issue? #10620

Closed Answered by slorber
taylorreece asked this question in Q&A
Discussion options

You must be logged in to vote

Yes this looks like a remark problem related to toc and directives

:buz is a directive and by default would not show.

It happens that users often write such things and expect MDX to treat it as text so we added code to convert that back to text, but that conversion happens after the TOC remark extraction. Will need to think about it but in the meantime you can escape \:buz

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by taylorreece
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants