Collapse plugin #628
-
Hi, I use react-markdown and I need details-summary elements. How can I make this plugin "https://github.com/Rokt33r/remark-collapse" work with it? I also need it multiple times in the markdown file, is there a solution to this requirement? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It's likely related to remarkjs/react-markdown#384 and/or remarkjs/react-markdown#427 |
Beta Was this translation helpful? Give feedback.
It's likely related to remarkjs/react-markdown#384 and/or remarkjs/react-markdown#427
Currently
react-markdown
doesn't handle html in markdown the same as other remark based solutions.https://github.com/remarkjs/react-remark could be used as a work around, as it supports
hProperties
andhtml
throughrehype
.Or you could wait for or help out on resolving remarkjs/react-markdown#427