Markdown根本语法
题目语法:几个#号代表几级题目 1-6级
Heading level 1
Heading level 2
Heading level 3
Heading level 4
Heading level 5
Heading level 6
Heading level 7
段落语法:用空白行分隔段落
这是一段段落啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
啊啊啊啊啊啊啊啊啊啊啊啊
换行语法:HTML的
标签换行
说的发
的产生的
强调语法:将文本设置为粗体或斜体来强调其重要性
粗体:在单词或短语前后各增加两个星号或下划线,举荐应用两个星号,两头不能应用空格
咱们是好的
水电__费理解__了
说了实践上中央
受睡了哦
斜体:在单词或短语前后各增加一个星号或下划线,举荐应用一个星号,两头不能应用空格
说的打开看看
啦啦啦等等
来咯练练手
是打_上来了_
粗体和斜体:在单词或短语前后各增加三个星号或下划线,举荐应用三个星号,两头不能应用空格
This text is really important.
this text is ___really important___.
this text is __really important__.
this text is really important.
this is reallyveryimportant text.
this is really___very___important text.
this is reallyveryimportant text.
援用语法:创立块援用:在段落前加一个>符号
Dorothy followed her through many of the beautiful rooms in her castle.
援用1
援用2
引1
引1.1
引1.1.1The quarterly results look great!
- aaaa
bbbb
斜体 加粗 斜体加粗everything
快点快点苦咖啡
列表语法:
能够将多个条目组织成有序或无序列表
有序列表 每个列表前加1.空格
无序列表 每个列表前加破折号-,星号*,加号+ 缩进一个或多个列表项可创立嵌套列表
- 1
- 2
- 3
- 4
a
- bbbb
b
- dddd
- c
d
- ggg
- aaaa
- bbbb
- cccc
- wwww
- qqqq
- vvvvv
- 222222
ddddd
- lll
sss
- jjj
aasdsa
- bbbb
- aa
bb
- b
- bb2
- cc
- first
second
ddd
dfdfsdfdsf
- ssssss
first
ssssssssssss
- second
111111
sssssssssss
ddddd
222222
lllll
- ooo
aaaa
<title>Test</title> <h3> sjjdfsjd </h3>
<html>
<head> <title>Test</title> </head>
public class Test{}
bbb
ccc
- Indented item
- Indented item
- ddd
代码语法:单词或短语示意为代码,将其包裹在反引号`中
type nano
user `code` in your Markdown file.
public class A{ }
public class A{ }
public class B{ }
分隔线语法:要创立分隔线,请在独自一行上应用三个或多个星号 (***
)、破折号 (---
) 或下划线 (___
) ,并且不能蕴含其余内容
_
链接语法:链接文本放在中括号内,链接地址放在前面的括号中,链接title可选。
超链接Markdown语法代码:[超链接显示名](超链接地址 "超链接title")
对应的HTML代码:<a href="超链接地址" title="超链接title">超链接显示名</a>
这是一个链接Markdown语法
这是百度的链接百度一下
这是一个链接Markdown语法
这是百度的链接百度一下
https://markdown.com.cn
https://www.baidu.com
<fake@example.com>
i love supporting the eff.
this is the Markdown Guide.
see the section on code
.
- hobbit-hole
- hobbit-hole
- hobbit-k
图片语法:要增加图像,请应用感叹号 (!
), 而后在方括号减少代替文本,图片链接放在圆括号里,括号里的链接后能够减少一个可选的图片题目文本。
插入图片Markdown语法代码:
。
对应的HTML代码:<img src="图片链接" alt="图片alt" title="图片title">
转义字符语法:要显示本来用于格式化 Markdown 文档的字符,请在字符后面增加反斜杠字符 () 。
- aaaaaaaaaaaa
* aaaaaaaaaa
©
at&t
AT&T
AT&T
4<5
4<5
内嵌HTML标签:对于 Markdown 涵盖范畴之外的标签,都能够间接在文件外面用 HTML 自身。如需应用 HTML,不须要额定标注这是 HTML 或是 Markdown,只需 HTML 标签增加到 Markdown 文本中即可
This word is bold.This word is italic.
This is a regular paragraph.
Foo |
This is another regular paragraph.