当前位置:网站首页>Markdown editor syntax - setting of text color, size, font and background color (Reprint)
Markdown editor syntax - setting of text color, size, font and background color (Reprint)
2022-07-27 11:21:00 【lqw198421】
CSDN Of markdown Editor is a derivative of it , Expanded Markdown The function of ( Such as the table 、 footnote 、 Embedded HTML wait ) It's embedded HTML, The following functions need to be embedded HTML To achieve this .
One 、 Color
stay markdown The text color can be controlled in the following ways :
Light red text :<font color="#dd0000"> Light red text :</font><br />
Crimson text :<font color="#660000"> Crimson text </font><br />
Light green text :<font color="#00dd00"> Light green text </font><br />
Dark green text :<font color="#006600"> Dark green text </font><br />
Light blue text :<font color="#0000dd"> Light blue text </font><br />
Dark blue text :<font color="#000066"> Dark blue text </font><br />
Light yellow text :<font color="#dddd00"> Light yellow text </font><br />
Dark yellow text :<font color="#666600"> Dark yellow text </font><br />
Light cyan text :<font color="#00dddd"> Light cyan text </font><br />
Dark cyan text :<font color="#006666"> Dark cyan text </font><br />
Light purple text :<font color="#dd00dd"> Light purple text </font><br />
Dark purple text :<font color="#660066"> Dark purple text </font><br />
The effect is as follows :
Light red text : Light red text :
Crimson text : Crimson text
Light green text : Light green text
Dark green text : Dark green text
Light blue text : Light blue text
Dark blue text : Dark blue text
Light yellow text : Light yellow text
Dark yellow text : Dark yellow text
Light cyan text : Light cyan text
Dark cyan text : Dark cyan text
Light purple text : Light purple text
Dark purple text : Dark purple text
In fact, you can check the specific color on the Internet , It's using RGB Color
Here is a comparison :
http://www.114la.com/other/rgb.htm
You can choose the color you want RGB value .
Two 、 size
size by 1:<font size="1">size by 1</font><br />
size by 2:<font size="2">size by 2</font><br />
size by 3:<font size="3">size by 3</font><br />
size by 4:<font size="4">size by 4</font><br />
size by 10:<font size="10">size by 10</font><br />
The effect is as follows :
size by 1:size by 1
size by 2:size by 2
size by 3:size by 3
size by 4:size by 4
size by 10:size by 10
3、 ... and 、 typeface
<font face=" In black "> I'm in bold </font>
<font face=" Song style "> I'm in Song typeface </font>
<font face=" Microsoft YaHei "> I'm Microsoft YaHei </font>
<font face="fantasy"> I am a fantasy word </font>
<font face="Helvetica"> I am a Helvetica word </font>
The effect is as follows :
I'm in bold
I'm in Song typeface
I'm Microsoft YaHei
I am a fantasy word
I am a Helvetica word
Tried a few word All fonts in are ok , I guess word The fonts in can be basically realized .
Four 、 Background color
<table><tr><td bgcolor=#FF00FF> The background color is set according to the hexadecimal color value :#7FFFD4</td></tr></table>
<table><tr><td bgcolor=#FF83FA> The background color is set according to the hexadecimal color value :#FF83FA</td></tr></table>
<table><tr><td bgcolor=#D1EEEE> The background color is set according to the hexadecimal color value :#D1EEEE</td></tr></table>
<table><tr><td bgcolor=#C0FF3E> The background color is set according to the hexadecimal color value :#C0FF3E</td></tr></table>
<table><tr><td bgcolor=#54FF9F> The background color is set according to the hexadecimal color value :#54FF9F</td></tr></table>
| The background color is set according to the hexadecimal color value :#7FFFD4 |
| The background color is set according to the hexadecimal color value :#FF83FA |
| The background color is set according to the hexadecimal color value :#D1EEEE |
| The background color is set according to the hexadecimal color value :#C0FF3E |
| The background color is set according to the hexadecimal color value :#54FF9F |
边栏推荐
- 博弈论 AcWing 892. 台阶-Nim游戏
- 高斯消元 AcWing 883. 高斯消元解线性方程组
- Find the combination number acwing 885. find the combination number I
- Budweiser, a well-known beer, plans to launch NFT in an attempt to unveil the "long planned" uplink?
- 深析C语言的灵魂 -- 指针
- Learning notes uni app
- Properties file
- 区间问题 AcWing 906. 区间分组
- Find the combination number acwing 886. find the combination number II
- Remember not to copy your group work, students. Fortunately, you only passed two questions. Don't have an accident
猜你喜欢

XXX packages are looking for funding run 'NPM fund' for details solutions

What is the mystery of the gate of the meta universe?

树形DP AcWing 285. 没有上司的舞会

最长上升子序列模型 AcWing 1014. 登山

栈 AcWing 3302. 表达式求值

背包模型 AcWing 1024. 装箱问题

Find the combination number acwing 888. find the combination number IV

Longest ascending subsequence model acwing 1014. mountaineering

Introduction to software vulnerability analysis (I)

Non progressive phenomena of entropy and morphology
随机推荐
洛谷P1896 互不侵犯
最长上升子序列模型 AcWing 1017. 怪盗基德的滑翔翼
什么是私域流量?
2022 Niuke multi school training (3) a-ancestor topic translation
Digital triangle model acwing 1018. Minimum toll
14 check whether integers and their multiples exist
KEPServer配置
Verilog implementation of ECG signal acquisition, storage and transmission system based on FPGA
Game theory acwing 894. Split Nim game
Yiwen counts NFT projects valued at more than US $100million
Based on the open source stream batch integrated data synchronization engine Chunjun data restore DDL parsing module actual combat sharing
15th largest value of data flow
容斥原理 AcWing 890. 能被整除的数
Derivation of the detailed expansion sto overlap integrals
Find the combinatorial number acwing 889. 01 sequence satisfying the condition
ACM warm-up Exercise 1 in 2022 summer vacation (summary)
2022 Niuke multi school (3) j.journey
12 is at least twice the maximum number of other numbers
XXX packages are looking for funding run 'NPM fund' for details solutions
JVM judges that the object is dead, and practices verify GC recycling