注:
点击run查看效果
Markdown 标题语法
#的数量代表了标题的级别
Heading level 1
Heading level 2
Heading level 3
Heading level 4
Heading level 5
Heading level 6
==标识一级标题,–标识二级标题(两个及两个以上)
Heading level 1
Heading level 2
段落,请使用空白行将一行或多行文本进行分割,但是间距是固定的。
-I’m you. So am I GOD??
-No, as Jesus said, you are just not only a bitch, but also son of a bitch.
-😅Yes, you are right. Fuck the Jesus.
换行,在一行的末尾添加两个或多个空格,然后按回车键,即可创建一个换行。
-I’m you. So am I GOD??
-No, as Jesus said, you are just not only a bitch, but also son of a bitch.
-😅Yes, you are right. Fuck the Jesus.
<br>也可以换行
-I’m you. So am I GOD??
-No, as Jesus said, you are just not only a bitch, but also son of a bitch.
-😅Yes, you are right. Fuck the Jesus.
Markdown 强调语法
粗体,两个星号**或__
斜体,一个星号*或_
-I’m you. So am I GOD??
-No, as Jesus said, you are just not only a bitch, but also son of a bitch.
-😅Yes, you are right. Fuck the Jesus.
Markdown 引用语法
块引用,请在段落前添加一个 > 符号。
块引用可以包含多个段落。为段落之间的空白行添加一个 > 符号。
-I’m you. So am I GOD??
-No, as Jesus said, you are just not only a bitch, but also son of a bitch.-😅Yes, you are right. Fuck the Jesus.
块引用可以嵌套。在要嵌套的段落前添加一个 >> 符号。
-I’m you. So am I GOD??
-No, as Jesus said, you are just not only a bitch, but also son of a bitch.-😅Yes, you are right. Fuck the Jesus.
Markdown 列表语法
- 有序列表,请在每个列表项前添加数字并紧跟一个英文句点。数字不必按数学顺序排列,但是列表应当以数字 1 起始。(列表只会按照12345的顺序进行)
同一序号的需使用换行符。-
-I’m you. So am I GOD??
-
-No, as Jesus said, you are just not only a bitch, but also son of a bitch.
-
-
-😅Yes, you are right. Fuck the Jesus.
-
- 无序列表,请在每个列表项前面添加破折号 (-)、星号 (*) 或加号 (+) 。缩进一个或多个列表项可创建嵌套列表。
-
-I’m you. So am I GOD??
-
-No, as Jesus said, you are just not only a bitch, but also son of a bitch.
-
-
-😅Yes, you are right. Fuck the Jesus.
-
- 与引用块结合使用。也会达到缩进效果。
-
-I’m you. So am I GOD??
-No, as Jesus said, you are just not only a bitch, but also son of a bitch.
-
-😅Yes, you are right. Fuck the Jesus.
-
代码块
代码块通常采用四个空格或一个制表符缩进。当它们被放在列表中时,缩进八个空格或两个制表符。但是这样会造成多重缩进。
-
-I’m you. So am I GOD??
-No, as Jesus said, you are just not only a bitch, but also son of a bitch.
-😅Yes, you are right. Fuck the Jesus.-I'm you. So am I GOD?? -No, as Jesus said, *you are just not only a bitch, but also son of a bitch.* -😅Yes, you are right. Fuck the **Jesus**.-I’m you. So am I GOD??
-No, as Jesus said, you are just not only a bitch, but also son of a bitch.
-😅Yes, you are right. Fuck the Jesus.
Markdown 围栏代码块
受保护的代码块(不缩进),根据Markdown处理器或编辑器的不同,您将在代码块之前和之后的行上使用三个反引号((```)或三个波浪号(~~~)。
- -I’m you. So am I GOD??
-No, as Jesus said, you are just not only a bitch, but also son of a bitch.
-😅Yes, you are right. Fuck the Jesus.
1 | -I'm you. So am I GOD?? |
图片
见markdown图片语法
Markdown 代码语法
要将单词或短语表示为代码,请将其包裹在反引号 (`) 中。
代码语法和代码块的显示是不一样的。
- -I’m you. So am I
GOD??
-No, as Jesus said, you are just not only a bitch, but also son of a bitch.- -😅Yes, you are right. Fuck the Jesus.
Markdown 分隔线语法
在单独一行上使用三个或多个星号 (**)、破折号 (—) 或下划线 (___) ,并且不能包含其他内容。为了兼容性,请在分隔线的前后均添加__空白行__.
-I’m you. So am I GOD??
-No, as Jesus said, you are just not only a bitch, but also son of a bitch.
- -😅Yes, you are right. Fuck the Jesus.
Markdown 链接语法
超链接Markdown语法代码:[超链接显示名](超链接地址 "超链接title")(链接title可选)(链接地址要写完整)
- 这是一个链接 Hello World。
- 使用尖括号<>https://tugumineko.github.io/
强调链接, 在链接语法前后增加星号。 要将链接表示为代码,请在方括号中添加反引号。
- This is Hello World.
- This is Hello World.
- This is
Hello World.
为了兼容性,在写链接时请尽量使用%20代替空格。
Markdown 图片语法
代码格式
对应的HTML代码:<img src="图片链接" alt="图片alt" title="图片title">
Markdown 转义字符语法
- 要显示原本用于格式化 Markdown 文档的字符,请在字符前面添加反斜杠字符 \
- 在 HTML 文件中,有两个字符需要特殊处理: < 和 & 。 < 符号用于起始标签,& 符号则用于标记 HTML 实体,如果你只是想要使用这些符号,你必须要使用实体的形式,像是 < 和 &。
兼容html的常用语法
删除线,一个或两个波浪~~
下划线,<u></u>
上标 ,<sup></sup>
下标,<sub></sub>
小号字体,<small></small>
大号字体,<big></big>
文本高亮,<mark></mark>
violantis主题特有的标签插件
使用标签插件时,若要换行,请使用html语法<br>,出现:时要使用反斜杠\