注:# 和「文字」之間建議保留一個(gè)字符的空格,這是最標(biāo)準(zhǔn)的 Markdown 寫法。
更多內(nèi)容請(qǐng)參考獻(xiàn)給寫作者的 Markdown 新手指南、Markdown——入門指南
標(biāo)題
用法:["#(數(shù)目)+空格+內(nèi)容"]
一級(jí)標(biāo)題
二級(jí)標(biāo)題
三級(jí)標(biāo)題
列表
用法:["-或*"]
- 文本1
- 文本2
鏈接和圖片
用法:["[顯示文本 ](鏈接地址)"]"!["]
簡(jiǎn)書
引用
用法:[">+空格+內(nèi)容"]
名言
心若不死,夢(mèng)想不止
粗體
用法:[**粗體**][*斜體*]
粗體-斜體
表格
| 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 |
| Tables | Are | Cool |
|---|---|---|
| col 3 is | right-aligned | $1600 |
| col 2 is | centered | $12 |
| zebra stripes | are neat | $1 |
代碼
用法:[`code`]
import os
import time
class new(object):
name = 'hello'
#注釋
def getName(self):
return self.name