Typora設置文字顏色


Typora本身並不支持選擇顏色進行內容的設置,但可以使用其現有的功能實現對文本內容進行顏色的設置,此處以使用內聯公式方式進行顏色字體的設置。

1.設置

文件-偏好設置,選擇Markdown,勾選Markdown擴展語法下的內聯公式,然后重啟Typora.

2.使用

文本顏色設置公式:

$\textcolor{顏色名}{文字內容} $

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

3.顏色公式代碼表

 1 $\textcolor{GreenYellow}{GreenYellow} $
 2 $\textcolor{Yellow}{Yellow}$
 3 $\textcolor{Goldenrod}{Goldenrod} $
 4 $\textcolor{Dandelion}{Dandelion}$
 5 $\textcolor{Apricot}{Apricot} $
 6 $\textcolor{Peach}{Peach}$
 7 $\textcolor{Melon}{Melon} $
 8 $\textcolor{YellowOrange}{YellowOrange}$
 9 $\textcolor{Orange}{Orange} $
10 $\textcolor{BurntOrange}{BurntOrange}$
11 $\textcolor{Bittersweet}{Bittersweet}$
12 $\textcolor{RedOrange}{RedOrange} $
13 $\textcolor{Mahogany}{Mahogany}$
14 $\textcolor{Maroon}{Maroon} $
15 $\textcolor{BrickRed}{BrickRed}$
16 $\textcolor{Red}{Red} $
17 $\textcolor{OrangeRed}{OrangeRed}$
18 $\textcolor{RubineRed}{RubineRed}$
19 $\textcolor{WildStrawberry}{WildStrawberry}$
20 $\textcolor{Salmon}{Salmon}$
21 $\textcolor{CarnationPink}{CarnationPink}$
22 $\textcolor{Magenta}{Magenta} $
23 $\textcolor{VioletRed}{VioletRed}$
24 $\textcolor{Rhodamine}{Rhodamine} $
25 $\textcolor{Mulberry}{Mulberry}$
26 $\textcolor{RedViolet}{RedViolet} $
27 $\textcolor{Fuchsia}{Fuchsia}$
28 $\textcolor{Lavender}{Lavender} $
29 $\textcolor{Thistle}{Thistle}$
30 $\textcolor{Orchid}{Orchid} $
31 $\textcolor{DarkOrchid}{DarkOrchid}$
32 $\textcolor{Purple}{Purple} $
33 $\textcolor{Plum}{Plum}$
34 $\textcolor{Violet}{Violet} $
35 $\textcolor{RoyalPurple}{RoyalPurple}$
36 $\textcolor{BlueViolet}{BlueViolet}$
37 $\textcolor{Periwinkle}{Periwinkle}$
38 $\textcolor{CadetBlue}{CadetBlue}$
39 $\textcolor{CornflowerBlue}{CornflowerBlue}$
40 $\textcolor{MidnightBlue}{MidnightBlue}$
41 $\textcolor{NavyBlue}{NavyBlue} $
42 $\textcolor{RoyalBlue}{RoyalBlue}$
43 $\textcolor{Blue}{Blue} $
44 $\textcolor{Cerulean}{Cerulean}$
45 $\textcolor{Cyan}{Cyan} $
46 $\textcolor{ProcessBlue}{ProcessBlue}$
47 $\textcolor{SkyBlue}{SkyBlue} $
48 $\textcolor{Turquoise}{Turquoise}$
49 $\textcolor{TealBlue}{TealBlue} $
50 $\textcolor{Aquamarine}{Aquamarine}$
51 $\textcolor{BlueGreen}{BlueGreen} $
52 $\textcolor{Emerald}{Emerald}$
53 $\textcolor{JungleGreen}{JungleGreen}$
54 $\textcolor{SeaGreen}{SeaGreen} $
55 $\textcolor{Green}{Green}$
56 $\textcolor{ForestGreen}{ForestGreen}$
57 $\textcolor{PineGreen}{PineGreen} $
58 $\textcolor{LimeGreen}{LimeGreen}$
59 $\textcolor{YellowGreen}{YellowGreen}$
60 $\textcolor{SpringGreen}{SpringGreen}$
61 $\textcolor{OliveGreen}{OliveGreen}$
62 $\textcolor{RawSienna}{RawSienna} $
63 $\textcolor{Sepia}{Sepia}$
64 $\textcolor{Brown}{Brown} $
65 $\textcolor{Tan}{Tan}$
66 $\textcolor{Gray}{Gray} $
67 $\textcolor{Black}{Black}$

效果如下:

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM