text highlight in markdown

As the markdown documentation states, it is fine to use HTML if you need a feature that is not part of Markdown.

HTML5 supports

<mark>Marked text</mark>

Expand snippet

Else you can use span as suggested by Rad Lexus

<span style="background-color: #FFFF00">Marked text</span>

Leave a Comment