-
I used
But with the switch to Is there any way on Code with v5: https://stackblitz.com/edit/react-9bubwy?file=src/App.js Thanks for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The example in the readme provides an example: https://github.com/remarkjs/remark-directive#use. |
Beta Was this translation helpful? Give feedback.
-
similar to remarkjs/react-markdown#574 the flow of data is now
(edited by @wooorm to fix a typo) |
Beta Was this translation helpful? Give feedback.
The example in the readme provides an example: https://github.com/remarkjs/remark-directive#use.
More on how to define in mdast (markdown ast, remark plugins) what the hast (html ast, rehype plugins) looks like can be found in
mdast-util-to-hast