Replies: 2 comments 3 replies
-
Taking a few steps back, could you expand a bit on your use case? If you do want to continue down the route of using |
Beta Was this translation helpful? Give feedback.
-
I think there's a pretty easy workaround. I made it work using the
|
Beta Was this translation helpful? Give feedback.
-
Hello,
Imagine that I'm using
react-markdown
like this:This will happen:
**strong**
,strong
will be rendered (becausestrong
element is disabled).---
, nothing will be rendered (becausehr
element is disabled).What I need to happen:
**strong**
,**strong**
should be rendered.---
,---
should be rendered.In other words, for disallowed elements, do not drop the Markdown, and render it as plain-text instead.
Is there a setting for this, or any way to configure
react-markdown
to work like this?Beta Was this translation helpful? Give feedback.
All reactions