Skip to content

How to generate highlighted html tags ==this== to <mark>this</mark> #1066

Discussion options

You must be logged in to vote

Commonmark doesn't include this as a feature.
https://commonmark.org/help/
So remark and react-markdown don't include it.

It could be added through a plugin.
There may be an existing one:
https://github.com/remarkjs/remark/blob/main/doc/plugins.md#list-of-plugins
https://github.com/topics/remark-plugin

If there isn't existing one you could create your own. Though I wouldn't necessarily recommend doing so, this page explains more:
https://github.com/micromark/micromark#extending-markdown

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wchorski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants