MarkDown 語法

下載

https://www.lanzous.com/i89dreb
密碼:mark
因爲藍奏雲限制,上傳的是zip,解壓後就是*.md文件了

引用

MarkDown語法說明(中文版)html

MarkDown語法快速入門瀏覽器

1.段落、標題、區塊代碼

Atx 形式在行首插入 1 到 6 個 # ,對應到標題 1 到 6 階。
區塊引用則使用 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 a
regular paragraph.markdown

The quick brown fox jumped over the lazy
dog's back.app

Header 3

This is a blockquote.ui

This is the second paragraph in the blockquote.this

This is an H2 in a blockquote

2. 修辭和強調

Markdown 使用星號和底線來標記須要強調的區段。

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.google

3. 列表

無序列表使用星號、加號和減號來作爲列表的項目標記,這些符號是均可以使用的,使用星號:
  • Candy.
  • Gum.
  • Booze.code

  • Candy.
  • Gum.
  • Booze.htm

  • Candy.
  • Gum.
  • Booze.圖片

  1. Red
  2. Green
  3. Blue
  • A list item.
    With multiple paragraphs.

  • Another item in the list.

4. 連接

Markdown 支援兩種形式的連接語法: 行內 和 參考 兩種形式,兩種都是使用角括號來把文字轉成連結。

This is an example link.

This is an example link.

//參考形式的連接讓你能夠爲連接定一個名稱,以後你能夠在文件的其餘地方定義該連接的內容:

I get 10 times more traffic from Google than from
Yahoo or MSN.

//title 屬性是選擇性的,連接名稱能夠用字母、數字和空格,可是不分大小寫:

I start my morning with a cup of coffee and
The New York Times.

5. 圖片

圖片的語法和連接很像

//行內形式(title 是選擇性的):

alt text

//參考

alt text

6. 代碼

使用`代碼`,或者換行後用4個空格或一個製表符分開.

    <blockquote>
    <p>For example.</p>
    </blockquote>

I strongly recommend against using any <blink> tags.

I wish SmartyPants used named entities like &mdash;
instead of decimal-encoded entites like &#8212;.

If you want your page to validate under XHTML 1.0 Strict,
you've got to put paragraph tags in your blockquotes:

<blockquote>
<p>For example.</p>
</blockquote>

7. 註釋

[//]: # (註釋,不會在瀏覽器中顯示。)

8. 註腳

註腳

這是個有註腳的文本。[^註腳]

[^註腳]:註腳內容這是註腳

這是個有註腳的文本。1


  1. 註腳內容這是註腳

相關文章
相關標籤/搜索