Headings containing colon-delimited words don't render properly in the TOC. Docusaurus or Remark issue? #10620
-
Beta Was this translation helpful? Give feedback.
Answered by
slorber
Oct 26, 2024
Replies: 2 comments
-
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 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
taylorreece
-
The |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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