typora-copy-images-to: markdown\基础语法操作
N级标题
一个#就是一级,最多支持6级
# This is an H1 等同语法ctrl+1
## This is an H2 等同语法ctrl+2
### This is an H3 等同语法ctrl+3
记住最后一个#后边有空格
加粗、斜体语法
加粗:
**需要加粗字体**
斜体:
*需要加斜字体*
效果如下:
加粗:
需要加粗字体
斜体:
需要加斜字体
高亮
==highlight高亮==
效果如下:
highlight高亮
下划线
<u>下划线内容</u>
效果如下:
下划线内容
删除线
~~Mistaken text.~~
效果如下:
Mistaken text.
引用
> This is another blockquote with one paragraph. There is three empty line to seperate two blockquote.
效果如下:
abc
def
列表
有序列表
ordered list:
1. Red
2. Green
3. Blue
效果如下:
- Red
- green
- blue
无序列表
un-ordered list:
- Red
- Green
- Blue
效果如下:
-
Red
-
Green
-
Blue
复选框
* [ ]
效果如下图:
- 复选框1
- 复选框2
插入代码块
python示例
```python
import requests
url = 'https://www.baidu.com/'
resp = requests.get(url)
```
import requests
url = 'https://www.baidu.com/'
resp = requests.get(url)
java示例
```java
public static void main(String[] args){
System.out.println("hello world")
}
```
效果如下:
public static void main(String[] args){
System.out.println("hello world")
}
表格
| First Column | Second Column |
| ------------- | ------------- |
| Content Cell1 | Content Cell2 Content Cell2 |
| Content Cell3 | Content Cell4|
效果如下:
| First Column | Second Column |
|---|---|
| Content Cell1 | Content Cell2 Content Cell2 |
| Content Cell3 | Content Cell4 |
超链接
[百度](https://www.baidu.com/)
效果如下:
生成索引目录
在需要生成目录的地方输入[TOC]即可
字体颜色调整
文本文字
本文详细介绍Markdown的基本语法操作,包括N级标题、加粗斜体、高亮、下划线、删除线、引用、列表、代码块、表格、超链接及索引目录的使用技巧。
1246

被折叠的 条评论
为什么被折叠?



