Markdown 简介
Markdown是一种轻量级标记语言,排版语法简洁,让人们更多地关注内容本身而非排版。它使用易读易写的纯文本格式编写文档,可与 HTML 混编,可导出 HTML、PDF 以及本身的 .md 格式的文件。因简洁、高效、易读、易写,Markdown被大量使用,如Github、Wikipedia、简书等。
Markdown 标题
Code:
# Heading level 1
## Heading level 2
### Heading level 3
#### Heading level 4
##### Heading level 5
###### Heading level 6
Markdown 段落
Code:
I really like using Markdown.
I think I'll use it to format all of my documents from now on.
直接空行就可以了捏
I really like using Markdown.
I think I’ll use it to format all of my documents from now on.
Markdown 换行语法
在一行的末尾添加两个或多个空格,然后按回车键,即可创建一个换行(<br>
)。
Code:
This is the first line.
And this is the second line.
This is the first line.
And this is the second line.
Markdown 强调语法
通过将文本设置为粗体或斜体来强调其重要性。
粗体(Bold)
**Bold**
__Bold__
斜体(Italic)
*Italic*
_Italic_
同时 粗体 和 斜体
***really important***
___really important___
我来试一下:really important
Markdown 引用语法
> It takes a strong man to save himself, and a great man to save another.
>
> >—— The Shawshank Redemption
>
> 坚强的人只能救赎自己,伟大的人才能拯救他人。
>
> >——《肖申克的救赎》
It takes a strong man to save himself, and a great man to save another.
——The Shawshank Redemption
坚强的人只能救赎自己,伟大的人才能拯救他人。
——《肖申克的救赎》
可以嵌套 :)
Markdown 列表语法
无序列表:
Morikiiii
Gamer
1225
ColdDog
有序列表:
Morikiiii
Gamer
1225
ColdDog
任务列表:
Morikiiii
Gamer
1225
ColdDog
Code:
*无序列表:*
- Morikiiii
- Gamer
- 1225
- ColdDog
*有序列表:*
1. Morikiiii
2. Gamer
3. 1225
4. ColdDog
*任务列表:*
* [x] Morikiiii
* [ ] Gamer
* [ ] 1225
* [ ] ColdDog
Markdown 代码语法
Code:
print("Hello,World")
print("Hello,World")
Markdown 分隔线语法
Code:
---
***
Markdown 链接语法
森木清树的个人博客网站:Morikiiii
森木清树的个人博客网站:[Morikiiii](https://morikiiii.github.io "ColdDog")
Markdown 转义字符语法
要显示原本用于格式化 Markdown 文档的字符,请在字符前面添加反斜杠字符 \ 。
\* Without the backslash, this would be a bullet in an unordered list.
* Without the backslash, this would be a bullet in an unordered list.
顺带一提:这个是什么呢? –》 © 没错,版权符号捏
©
Markdown 图片语法
代码:
![screenshots](https://raw.githubusercontent.com/Morikiiii/FigureBed/main/img/50.png)
放一下乃贝壁纸~XD