New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I custom renderer tag? #1017
Comments
hey I am interested in taking this issue on @dribble-njr , I know something about rendering issues in chakra-ui through a friend. |
I solved this problem by ChakraUIRenderer. Actually, it use Do you have some idea for rendering custom component with |
Hello, The React documentation on markdoc.io explains how to use the custom Callout and it works really well :) If I transform it like this: Markdoc.transform(node, { Markdoc.renderers.react(props.content, React, { Is something similar to what you what you actually wanted to render? |
So it is also using another lib to render markdown. It seems that |
I am trying to implement a blog with
chakra-ui
andmarkdown-it
.Now I can parse markdown file to HTML with
markdown-it
, and I renderer as normal HTML tag like<h1>
without any style. But I want to custom style withchakra-ui
instead of write CSS code.How can I costom HTML tag to
chakra-ui
components. It seems like:## h2
I am trying to change
md.renderer.rules
but I doesn't work. So does any other way to impletment it.Thanks in advance.
The text was updated successfully, but these errors were encountered: