DEV Community

loading...

Could Dev.to add support for the <mark> element?

Šime Vidas
・1 min read

The <mark> element is useful for highlighting certain words and phrases in text, which reduces the “wall of text” issue. Browsers already render this element using a yellow background.

I ask Dev.to to not strip the <mark> element from the HTML output of articles. Authors can use this element in Markdown normally.

An example of how <mark> improves the readability of content:

Discussion (2)

Collapse
peter profile image
Peter Kim Frank

Hey @simevidas , would you mind creating a feature request in our public repo? That would be the best way to start the conversation with the core team and community. Appreciate the suggestion!

Collapse
simevidas profile image
Šime Vidas Author

👍 I’ve created it here: github.com/thepracticaldev/dev.to/....