当前位置:网站首页>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 1024. 装箱问题
- 2022牛客多校训练(3)A-Ancestor 题目翻译
- Caused by:org.gradle.api.internal. plugins . PluginApplicationException: Failed to apply plugin
- Play with the cluster configuration center and learn about the Taier console
- 高斯消元 AcWing 884. 高斯消元解异或线性方程组
- [shader realizes shake random shaking effect _shader effect Chapter 10]
- PAT(乙级)2022年夏季考试
- 14 check whether integers and their multiples exist
- 数字三角形模型 AcWing 275. 传纸条
- IO流_字符流、IO流小结、IO流案例总结
猜你喜欢

Knapsack problem acwing 9. grouping knapsack problem

Wenzhou University X kangaroo cloud: how to "know well" in the construction of higher talent education

数字三角形模型 AcWing 1027. 方格取数

求组合数 AcWing 886. 求组合数 II

Longest ascending subsequence model acwing 482. Chorus formation

背包问题 AcWing 9. 分组背包问题

最长上升子序列模型 AcWing 1016. 最大上升子序列和

KEPServer配置

最长上升子序列模型 AcWing 1012. 友好城市

Asustek unparalleled, this may be the best affordable high brush thin notebook on the screen
随机推荐
49字母异位分组和242有效的字母异位词
Backpack model acwing 1022. Collection of pet elves
TensorFlow张量运算函数集
Ansible
高斯消元 AcWing 884. 高斯消元解异或线性方程组
Based on the open source stream batch integrated data synchronization engine Chunjun data restore DDL parsing module actual combat sharing
Play with the cluster configuration center and learn about the Taier console
Today's code farmer girl summarized her notes about NPM package management and URL module
Thank you for your likes and attention
Opengauss kernel analysis - statistics and row count estimation
Today's code farmer girl learned notes about event operation and ref attribute, and did the practice of form two-way binding
Introduction to software vulnerability analysis (I)
349 sum of intersection of two arrays and 01
Openatom openharmony sub forum, see you today at 14:00! Wonderful release of memorabilia attached
Internal and external troubles of digital collection NFT "boring ape" bayc
背包模型 AcWing 1022. 宠物小精灵之收服
ACM warm-up Exercise 2 in 2022 summer vacation (summary)
The article will not keep VIP charges all the time. It will be open for a period of time
Tree DP acwing 285. dance without boss
IO流_字符流、IO流小结、IO流案例总结