Markdown common syntax skills

Some common special symbols

①②③④⑤⑥⑦⑧⑨⑩⑪⑫⑬⑭⑮⑯⑰⑱⑲⑳
❶❷❸❹❺❻❼❽❾❿⓫⓬⓭⓮⓯⓰⓱⓲⓳⓴
ⒶⒷⒸⒹⒺⒻⒼⒽⒾⒿⓀⓁⓂⓃⓄⓅⓆⓇⓈⓉⓊⓋⓌⓍⓎⓏ

Reference Symbol Encyclopedia http://www.fhdq.net/

① Title

Use the # sign to indicate the headings of levels 1-6. As the number of # increases, the font size of the first-level heading is the largest, and the font size of the sixth-level heading is the smallest.

# 一级标题
## 二级标题
### 三级标题
#### 四级标题
##### 五级标题
###### 六级标题

first level title

secondary title

Level 3 heading

Level 4 heading

Level 5 heading
Sixth-level title

Font color

font color
font color
font color
font color
font color
font color

<font color=red>字体颜色</font>
<font color=blue>字体颜色</font>
<font color=DarkCyan>字体颜色</font>
<font color=DarkViolet>字体颜色</font>
<font color=DarkOrange>字体颜色</font>
<font color=Green4>字体颜色</font>

text highlight

<mark>文字高亮</mark>

提示:这里可以添加学习目标

`提示:这里可以添加学习目标`

⑤ To-do list

-[] indicates incomplete; -[x] indicates completed

  • Support for exporting documents in PDF format
  • Improve the Cmd rendering algorithm and use partial rendering technology to improve rendering efficiency
  • Added Todo list function
  • Fix LaTex formula rendering problem
  • Added LaTex formula numbering function
- [ ] 支持以 PDF 格式导出文稿
- [ ] 改进 Cmd 渲染算法,使用局部渲染技术提高渲染效率
- [x] 新增 Todo 列表功能
- [x] 修复 LaTex 公式渲染问题
- [x] 新增 LaTex 公式编号功能

⑥ Form

The table uses | to separate different cells, and - to separate the header and other rows.
Alignment: -: set right alignment, :- set left alignment, :-: set center alignment

code:

| 左对齐 | 右对齐 | 居中对齐 |
| :-----| ----: | :----: |
| 单元格 | 单元格 | 单元格 |
| 单元格 | 单元格 | 单元格 |

Effect:

align left right align center alignment
Cell Cell Cell
Cell Cell Cell

⑦ Special symbols

For syntax symbols in Markdown, the front backslash \ can display the symbol itself.

\\
\*
\_
\+
\.
等等

\
*
_
+
.
etc.

⑧ font

Both asterisks and underscores are acceptable, single is italic, double is bold, and triple is bold italic

the code Effect
*this is in italics* this is italic
_this is in italics_ this is italic
**this is in bold** this is bold
_this is bold_ this is bold
***This is in bold italics*** this is bold italic
___This is in bold italics___ this is bold italic

⑨ Divider

Use three or more asterisks, minus signs, and underscores in a line to create a separator


***
* * *
*****
- - -
----------

⑩ list

Unordered list: Use an asterisk ( ***** ), plus ( + ) or minus (-) as list markers, followed by a space

* 例如第一
* 例如第二
* 例如第三

+ 例如第一
+ 例如第二
+ 例如第三

- 例如第一
- 例如第二
- 例如第三

  • For example the first
  • For example the second
  • For example the third

Ordered lists are represented by numbers followed by a . sign

1. 例如第一
2. 例如第二
3. 例如第三
  1. For example the first
  2. For example the second
  3. For example the third

⑪ Font background color

Since the style tag and the style attribute of the tag are harmonized (this makes Markdown have an HTML body, but no HTML soul!), so here we can only use the bgcolor attribute of table, tr, td and other table tags to realize the background color function.
Although it is a bit troublesome, but if you can achieve the desired function, just deal with it.

Example usage:

<table><tr><td bgcolor=#7FFFD4 align=left >
这里的背景色是:Aquamarine,  十六进制颜色值:#7FFFD4, rgb(127, 255, 212)
</td></tr></table>
The background color here is: Aquamarine, hex color value: #7FFFD4, rgb(127, 255, 212)

Guess you like

Origin blog.csdn.net/daokedream/article/details/130829155