How to add custom plugin/component having html data using milkdown.dev? #1560
Unanswered
saksham9312
asked this question in
Q&A
Replies: 1 comment
-
You can use the code block plugin. https://milkdown.dev/docs/api/component-code-block |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm new to milkdown.dev, though I have gone through the doc, but not able to understand how to add a custom component.
Here are the details:
I want to render a component having structure like this (basically a code snippet component with html data):
And it should render the snippet in milkdown editor like this:
Please give a step by step answer as I'm new to it and maybe resources that I can look into it.
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions