markdown フォントの色とフォントの背景色を変更する

フォントの色を変更するための構文は次のとおりです。2 つのうちの 1 つを選択してください。

<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