Skip to content

remark-directive plugin with react-markdown #625

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

You must be logged in to vote

remark-directive handles the parsing, not what component it gets turned into (it doesn’t know about React). The error reason that a renderer is missing, so the solution would be to look into adding a renderer for containerDirective (similar to how you have a renderer for code!)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@hakankaraduman
Comment options

@wooorm
Comment options

@hakankaraduman
Comment options

@rjantoine
Comment options

Answer selected by hakankaraduman
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