shd101wyy / vscode-markdown-preview-enhanced

One of the "BEST" markdown preview extensions for Visual Studio Code
https://shd101wyy.github.io/markdown-preview-enhanced
Other
1.47k stars 173 forks source link

How to change the color of a highlighted font by using a custom method ? #963

Open Wxiaoze opened 3 years ago

electronum commented 3 years ago

You can always use pure HTML and CSS in Markdown to style almost everything. In case of text you could use the span tag

<p>My mother has <span style="color:blue">blue</span> eyes.</p>

https://www.w3schools.com/tags/tag_span.asp