DEV Community

Šime Vidas
Šime Vidas

Posted on

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

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:

Top comments (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

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