注:詳細(xì)內(nèi)容請前往此處。
Dingus 是一個網(wǎng)頁應(yīng)用程序,你可以把自已編寫的 Markdown 文檔轉(zhuǎn)成 XHTML。
段落、標(biāo)題、區(qū)塊代碼:
Markdown 支持兩種標(biāo)題的語法,Setext 和 atx 形式。Setext 形式是用底線的形式,利用 = (最高階標(biāo)題)和 - (第二階標(biāo)題),Atx 形式在行首插入 1 到 6 個 # ,對應(yīng)到標(biāo)題 1 到 6 階。
區(qū)塊引用則使用 email 形式的 '>' 角括號.
示例:
A First Level Header
====================
A Second Level Header
---------------------
Now is the time for all good men to come to
the aid of their country. This is just aregular paragraph.
The quick brown fox jumped over the lazydog's back.
### Header 3
> This is a blockquote.
>
> This is the second paragraph in the blockquote.
>
> ## This is an H2 in a blockquote
結(jié)果:
A First Level Header
A Second Level Header
Now is the time for all good men to come to
the aid of their country. This is just aregular paragraph.
The quick brown fox jumped over the lazydog's back.
Header 3
This is a blockquote.
This is the second paragraph in the blockquote.
This is an H2 in a blockquote
修辭和強(qiáng)調(diào)
斜體:*或_
加粗:**或__
示例:
Some of these words *are emphasized*.
Some of these words _are emphasized also_.
Use two asterisks for **strong emphasis**.
Or, if you prefer, __use two underscores instead__.
結(jié)果:
Some of these words are emphasized.
Some of these words are emphasized also.
Use two asterisks for strong emphasis.
Or, if you prefer, use two underscores instead.
列表
無序列表使用星號、加號和減號來做為列表的項目標(biāo)記。
示例:
* Candy.
* Gum.
* Booze.
+ Candy.
+ Gum.
+ Booze.
- Candy.
- Gum.
- Booze.
結(jié)果:
- Candy.
- Gum.
- Booze.
- Candy.
- Gum.
- Booze.
- Candy.
- Gum.
- Booze.
鏈接
1. 行內(nèi):
示例: This is an[example link](http://example.com/).
結(jié)果: This is an example link.
2. 參考:
示例:
I get 10 times more traffic from [Google][1] than from[Yahoo][2] or [MSN][3].
注意:這里有一空行
[1]: http://google.com/ "Google"
[2]: http://search.yahoo.com/ "Yahoo Search"
[3]: http://search.msn.com/ "MSN Search"
結(jié)果:
I get 10 times more traffic from Google than fromYahoo or MSN.
圖片
1. 行內(nèi):
示例: 
結(jié)果:

2. 參考:
示例:
![alt text][id]
注意:這里有一空行
[id]: /path/to/jqm.jpg "Title"
結(jié)果:

代碼
插入HTML代碼,需要用反引號來標(biāo)記代碼區(qū)段。
示例:
I strongly recommend against using any `<blink>` tags.
I wish SmartyPants used named entities like `—`
instead of decimal-encoded entites like `—`.
結(jié)果:
I strongly recommend against using any <blink> tags.
I wish SmartyPants used named entities like —
instead of decimal-encoded entites like —.