30分钟学会Markdown标记语法,可以的

N级标题

一个#就是一个级,最多支持六级标题。

# This is an H1

## This is an H2

### This is an H3

效果如下

This is an H1

This is an H2

This is an H3

加粗、斜体

**加粗的文本**

加粗的文本

*斜体文本*

斜体文本

高亮

==highlight高亮==

==highlight高亮==

下划线

下划线内容

下划线内容

删除线

 ~~Mistaken text.~~

Mistaken text.

引用

> This is another blockquote with one paragraph. There is three empty line to seperate two blockquote.

效果如下

This is another blockquote with one paragraph. There is three empty line to seperate two blockquote.

列表

有序列表

ordered list:
1. Red
2. Green
3. Blue

ordered list:

  1. Red
  2. Green
  3. Blue

无序列表

un-ordered list:
- Red
- Green
- Blue

un-ordered list:

  • Red
  • Green
  • Blue

代码块

一般情况下,word等office软件不支持代码高亮,且存储代码容易乱行。以typora为首的markdown语法完美支持各种代码,这里以Python代码为例

```python
import requests
url = 'https://www.baidu.com/'
resp = requests.get(url)
```
import requests
url = 'https://www.baidu.com/'
resp = requests.get(url)

表格

| First Column  | Second Column |
| ------------- | ------------- |
| Content Cell1 | Content Cell2 |
| Content Cell3 | Content Cell4 |
First Column Second Column
Content Cell1 Content Cell2
Content Cell3 Content Cell4

超链接

[百度](https://www.baidu.com/)

百度

插入图片

插入图片的语法

![](图片文件路径或网址)
![](https://thunderhit.github.io/post/hugo/featured_hu9a15b8275a5635099198061a5e2dc1dd_3029870_720x0_resize_lanczos_2.png)

任务清单

某日任务清单
- [x] 6点起床
- [ ] 步数达到10000步
- [x] 读一小时书
- [x] 日消费不超过50元

某日任务清单

  • [x] 6点起床
  • [ ] 步数达到10000步
  • [x] 读一小时书
  • [x] 日消费不超过50元

数学公式

在markdown中用$夹住Latex公式表达式

$\lim_{x \to \infty} \exp(-x) = 0$

 

$y = a*x + b$

 

mermaid图表

Typora中可以绘制流程图、序列图、状态图、甘特图、饼形图、类图等,这里以流程图为例

```mermaid
graph LR
 A-->B
 B-->C
 C-->D
```
graph LR
	A-->B
	B-->C
	C-->D
THE END