markdown基本語法熟悉

markdown基本語法熟悉

[toc]是目錄

[toc]
#加內容是標題,根據#數量

一級標題

二級標題

三級標題

四級標題

下面加===爲一級標題
下面加---爲二級標題

一級標題

二級標題

> 後加塊註釋

塊註釋

nested

當>和文字之間有5個空格時,塊註釋的文字發生變化

haha
haha

sdf

hahasdf

**粗體** __粗體__ *斜體* _斜體_
粗體 粗體 斜體 斜體

<a href="http://itsong.net">sffd</a>
sffd

 haha
 : haha
 : haha
haha
haha

haha

  • *無序列表
  • *無序列表
    • 二級無序列表
      • 三級
        • 四級
  • +無序列表
  • -無序列表
  1. 數字加.加空格,有序列表
    1. 二級
      1. 三級
      2. 哈哈
  2. 有序列表

內聯鏈接:

[itsong.net](http://itsong.net)

itsong.net

引用方式:

[itsong.net][1]
[1]: http://itsong.net "website"

itsong.net
圖片:
內聯方式:

![alt text]     (http://7xjjxv.com1.z0.glb.clouddn.com/jpg20130331201077117711.jpg)

alt text

引用方式:

![alt text][pic]
[pic]:http://7xjjxv.com1.z0.glb.clouddn.com/jpg20130331201077117711.jpg "haha"

alt text
代碼:
haha <sf>
`this`

代碼:tab+空格

class foo{
    hah
}

腳註:

hello[^ha]
[^ha]: hi

hello1
### 表格

| Item      |    Value | Qty  |
| :-------- | --------:| :--: |
| Computer  | 1600 USD |  5   |
| Phone     |   12 USD |  12  |
| Pipe      |    1 USD | 234  |
Item Value Qty
Computer 1600 USD 5
Phone 12 USD 12
Pipe 1 USD 234



@(markdown)[馬克飛象|幫助|Markdown]


代碼塊

@requires_authorization
def somefunc(param1='', param2=0):
    '''A docstring'''
    if param1 > param2: # interesting
        print 'Greater'
    return (param2 - param1 + 1) or None
class SomeClass:
    pass
>>> message = '''interpreter
... prompt'''

快捷鍵

幫助 Cmd + /
同步文檔 Cmd + S
創建文檔 Cmd + Opt + N
最大化編輯器 Cmd + Enter
預覽文檔 Cmd + Opt + Enter
文檔管理 Cmd + O
系統菜單 Cmd + M

加粗 Cmd + B
插入圖片 Cmd + G
插入鏈接 Cmd + L
提升標題 Cmd + H


  1. hi
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章