Syntax for <details><summary> within mdx #11313
-
|
I'm sure this is a simple PEBCAK issue, but I cannot for the life of me figure out why the content of a I'm using 3.8.1 with TypeScript. I've changed a few things using custom.css and am using the remark/rehype KaTeX stuff for equations, but I haven't otherwise touched how things should display globally. The code works perfectly in the MDX playground (and on the Docusaurus site!). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
|
Everything looks good on my side. Do you have a full reproduction? |
Beta Was this translation helpful? Give feedback.

This is likely the problem: you are overriding the Details component we use when rendering MDX details elements.
The built-in one is different: