MacDown语法详解、

2019-03-21  本文已影响0人  晴天ccc

换行

要强制换行,请在行尾添加两个空格和换行符(return)。

* This two-line bullet  
won't break 

标题

# Header 1
## Header 2
### Header 3
#### Header 4
##### Header 5
###### Header 6

Header 1

Header 2

Header 3

Header 4

Header 5
Header 6

链接

[点击跳转我的博客](https://www.jianshu.com/u/02ef4791c364)  
[点击跳转我的GitHub](https://github.com/wnkpzzz)  

点击跳转我的博客
点击跳转我的GitHub

图片

![](https://img.haomeiwen.com/i6545546/64684eff0008c5f8.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

清单

* 第一行
* 第一行
* 第一行

内联代码

Inline code

Inline code

表格

First Header  | Second Header
------------- | -------------
Content Cell  | Content Cell
Content Cell  | Content Cell
First Header Second Header
Content Cell Content Cell
Content Cell Content Cell
| Left Aligned  | Center Aligned  | Right Aligned |
|:------------- |:---------------:| -------------:|
| col 3 is      | some wordy text |         $1600 |
| col 2 is      | centered        |           $12 |
| zebra stripes | are neat        |            $1 |
Left Aligned Center Aligned Right Aligned
col 3 is some wordy text $1600
col 2 is centered $12
zebra stripes are neat $1

左侧和最右侧的管道(|)仅是美观的,可以省略。这些空间也无关紧要。对齐仅取决于:标记。

带围栏的代码块:

使用三个连续的(~)或者(`):

print('Hello world!')
上一篇 下一篇

猜你喜欢

热点阅读