markdown modify font color and font background color

The syntax for modifying the font color is as follows, just choose one of the two:

<font style="color: red;">hello world</font>
$\color{red}{hello world}$

Renderings:
insert image description here

ditto

<font style="background:red">hello world</font>
$\colorbox{red}{hello world}$

Renderings:
insert image description here

Guess you like

Origin blog.csdn.net/heart_is_broken/article/details/120451531