markdown修改字体颜色和字体背景色

修改字体颜色语法如下,两者选其一就行:

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

效果图:
在这里插入图片描述

同上

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

效果图:
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/heart_is_broken/article/details/120451531