How to render a url as text without an anchor? #1381
Replies: 1 comment 10 replies
-
i did it! fix: add <Markdown remarkPlugins={[remarkGfm]} rehypePlugins={[rehypeRaw]} disallowedElements={["a"]} unwrapDisallowed>
{ content }
</Markdown> |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, my markdown states something like...
I DO NOT want it to be an anchor on the html, but the tag is automatically added on render. It is transformed to:
How can I fix it?
Beta Was this translation helpful? Give feedback.
All reactions