美文网首页
Markdown的使用

Markdown的使用

作者: Art_Collector | 来源:发表于2016-08-26 18:34 被阅读0次

Markdown——入门指南
Markdown入门学习小结

PS:语法和文字之间最好加空格,说好的支持HTML呢!

标题(只有1-6级)

# 一级标题
## 二级标题
### 三级标题
#### 四级标题
##### 五级标题
###### 六级标题

一级标题

二级标题

三级标题

四级标题

五级标题
六级标题

列表

** 无序列表 **

* 列表1
* 列表2

- 列表1
- 列表2

+ 列表1
+ 列表2
  • 列表1
  • 列表2
  • 列表1
  • 列表2
  • 列表1
  • 列表2

** 有序列表 **

1. 列表1
2. 列表2
  1. 列表1
  2. 列表2

链接和图片

链接[显示文本](链接地址)
图片![显示文本](链接地址) 简书可直接粘贴

[百度](http://www.baidu.com)
![链接和图片](https://img.haomeiwen.com/i2666047/4827d113a39769c4.png)

百度
限制大小

<img src="http://ww2.sinaimg.cn/bmiddle/88070423gw1ep30aw8an7g204d04gkgd.gif" width="400" height="400" alt="亦菲表演机器猫"/>

<img src="http://ww2.sinaimg.cn/bmiddle/88070423gw1ep30aw8an7g204d04gkgd.gif" width="400" height="400" alt="亦菲表演机器猫"/>

引用

> 引用
>>引用

引用

引用

粗体和斜体

**粗体**
*斜体*
***粗&斜***

粗体
斜体
粗&斜

表格

| Tables | Are | Cool |
| ---- |:-----:| -----:|
| col 3 is | right-aligned | $1600 |
| col 2 is | centered | $12 |
| zebra stripes | are neat | $1 |

注意第二行‘:’位置影响的结果

Tables Are Cool
col 3 is right-aligned $1600
col 2 is centered $12
zebra stripes are neat $1

代码

`code` 单行
多行试试四个‘Space’|‘Tab’

多行

多行

分割线

***
* * * 简书不支持
***** 简书不支持



段落和换行

用一个以上的空行代表分段,而没有空行的换行被忽略,所以允许段内强制 换行
用一个以上的空行代表

分段,而没有空行的换行被忽略,所以允许
段内强制换行

缩进

  • 列表
    不要换行

暂未发现

脚注

hello[^hello] 你好[^must english]
[^hello]: hi
[^must english]:妹妹你做船头

hello[1] 你好[^must english]


  1. hi
    [^must english]:妹妹你做船头

相关文章

网友评论

      本文标题:Markdown的使用

      本文链接:https://www.haomeiwen.com/subject/dcezsttx.html