react-markdown
: Is there a way to place unwrapDisallowed
content inside <p/>
tags if it's a block?
#1435
Unanswered
dmitrizzle
asked this question in
Q&A
Replies: 1 comment
-
Welcome @dmitrizzle! 👋 Taking a step back, what are you trying to solve?
I don't understand what you mean by this, can you give a concrete example of what markdown you have and what html you want to produce? |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I want to only allow paragraphs and titles for my block elements. Other things, like lists that are block elements should be wrapped in
<p/>
tags like regular paragraphs while marks like**bold**
should be unwrapped as usual.Is there a way to do this using
react-markdown
or should I try to pre-process the Markdown string beforehand?Beta Was this translation helpful? Give feedback.
All reactions