Typora设置文字颜色

Typora本身并不支持选择颜色进行内容的设置,但可以使用其现有的功能实现对文本内容进行颜色的设置,此处以使用内联公式方式进行颜色字体的设置。

1.设置

文件-偏好设置,选择Markdown,勾选Markdown扩展语法下的内联公式,然后重启Typora.

image

2.使用

文本颜色设置公式:

\textcolor{颜色名}{文字内容}

示例:绿色 - $\textcolor{green}{绿色的文字内容} $,效果如下:

image

3.颜色公式代码表

$\textcolor{GreenYellow}{GreenYellow} $

$\textcolor{Yellow}{Yellow}$

$\textcolor{Goldenrod}{Goldenrod} $

$\textcolor{Dandelion}{Dandelion}$

$\textcolor{Apricot}{Apricot} $

$\textcolor{Peach}{Peach}$

$\textcolor{Melon}{Melon} $

$\textcolor{YellowOrange}{YellowOrange}$

$\textcolor{Orange}{Orange} $

$\textcolor{BurntOrange}{BurntOrange}$

$\textcolor{Bittersweet}{Bittersweet}$

$\textcolor{RedOrange}{RedOrange} $

$\textcolor{Mahogany}{Mahogany}$

$\textcolor{Maroon}{Maroon} $

$\textcolor{BrickRed}{BrickRed}$

$\textcolor{Red}{Red} $

$\textcolor{OrangeRed}{OrangeRed}$

$\textcolor{RubineRed}{RubineRed}$

$\textcolor{WildStrawberry}{WildStrawberry}$

$\textcolor{Salmon}{Salmon}$

$\textcolor{CarnationPink}{CarnationPink}$

$\textcolor{Magenta}{Magenta} $

$\textcolor{VioletRed}{VioletRed}$

$\textcolor{Rhodamine}{Rhodamine} $

$\textcolor{Mulberry}{Mulberry}$

$\textcolor{RedViolet}{RedViolet} $

$\textcolor{Fuchsia}{Fuchsia}$

$\textcolor{Lavender}{Lavender} $

$\textcolor{Thistle}{Thistle}$

$\textcolor{Orchid}{Orchid} $

$\textcolor{DarkOrchid}{DarkOrchid}$

$\textcolor{Purple}{Purple} $

$\textcolor{Plum}{Plum}$

$\textcolor{Violet}{Violet} $

$\textcolor{RoyalPurple}{RoyalPurple}$

$\textcolor{BlueViolet}{BlueViolet}$

$\textcolor{Periwinkle}{Periwinkle}$

$\textcolor{CadetBlue}{CadetBlue}$

$\textcolor{CornflowerBlue}{CornflowerBlue}$

$\textcolor{MidnightBlue}{MidnightBlue}$

$\textcolor{NavyBlue}{NavyBlue} $

$\textcolor{RoyalBlue}{RoyalBlue}$

$\textcolor{Blue}{Blue} $

$\textcolor{Cerulean}{Cerulean}$

$\textcolor{Cyan}{Cyan} $

$\textcolor{ProcessBlue}{ProcessBlue}$

$\textcolor{SkyBlue}{SkyBlue} $

$\textcolor{Turquoise}{Turquoise}$

$\textcolor{TealBlue}{TealBlue} $

$\textcolor{Aquamarine}{Aquamarine}$

$\textcolor{BlueGreen}{BlueGreen} $

$\textcolor{Emerald}{Emerald}$

$\textcolor{JungleGreen}{JungleGreen}$

$\textcolor{SeaGreen}{SeaGreen} $

$\textcolor{Green}{Green}$

$\textcolor{ForestGreen}{ForestGreen}$

$\textcolor{PineGreen}{PineGreen} $

$\textcolor{LimeGreen}{LimeGreen}$

$\textcolor{YellowGreen}{YellowGreen}$

$\textcolor{SpringGreen}{SpringGreen}$

$\textcolor{OliveGreen}{OliveGreen}$

$\textcolor{RawSienna}{RawSienna} $

$\textcolor{Sepia}{Sepia}$

$\textcolor{Brown}{Brown} $

$\textcolor{Tan}{Tan}$

$\textcolor{Gray}{Gray} $

$\textcolor{Black}{Black}$

效果如下:

image
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容