Skip to content

remark-directive with react-markdown 6 #692

Answered by wooorm
dbuchet asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 2 comments 1 reply

Comment options

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

You must be logged in to vote
1 reply
@dbuchet
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants