remarkjs / react-markdown

Markdown component for React
https://remarkjs.github.io/react-markdown/
MIT License
13.13k stars 869 forks source link

Adding support of "highlight", 'strikethrough" #867

Closed amitkroutthedev closed 3 hours ago

amitkroutthedev commented 3 hours ago

Initial checklist

Problem

While developing a application, I faced rendering issues in highlight functionality (==text==) and strike-through functionality.

Solution

Addition of supported component in components list(attribute). I can also help in finding solutions for it.

Alternatives

N/A

wooorm commented 3 hours ago

Hi!

Strikethrough is part of GFM. Please read the readme on how to do GFM.

Highlight is not part of a one of the common extensions that are supported. It is also not common. Most places don’t support it. You can make custom extensions. But it is not recommend. See https://github.com/micromark/micromark#extensions

github-actions[bot] commented 3 hours ago

Hi! This was closed. Team: If this was fixed, please add phase/solved. Otherwise, please add one of the no/* labels.