@ -219,9 +219,14 @@ Markdown supports two styles for creating links: *inline* and
@@ -219,9 +219,14 @@ Markdown supports two styles for creating links: *inline* and
*reference*. With both styles, you use square brackets to delimit the
text you want to turn into a link.
Markdown 支援兩種形式的連結語法: *行內* 和 *參考* 兩種形式,兩種都是使用角括號
來把文字轉成連結。
Inline-style links use parentheses immediately after the link text.
@ -296,6 +315,10 @@ backtick quotes. Any ampersands (`&`) and angle brackets (`<` or
@@ -296,6 +315,10 @@ backtick quotes. Any ampersands (`&`) and angle brackets (`<` or
`>`) will automatically be translated into HTML entities. This makes
it easy to use Markdown to write about HTML example code:
在一般的段落文字中,你可以使用反引號 `` ` `` 來標記程式碼區段,區段內的 `&`
、`<` 和 `>` 都會被自動的轉換成 HTML 實體,這項特性讓你可以很容易的在程式碼
區段內插入 HTML 碼:
I strongly recommend against using any `<blink>` tags.
I wish SmartyPants used named entities like `—`
@ -303,6 +326,8 @@ it easy to use Markdown to write about HTML example code:
@@ -303,6 +326,8 @@ it easy to use Markdown to write about HTML example code:
Output:
輸出:
<p>I strongly recommend against using any
<code><blink></code> tags.</p>
@ -315,6 +340,9 @@ To specify an entire block of pre-formatted code, indent every line of
@@ -315,6 +340,9 @@ To specify an entire block of pre-formatted code, indent every line of
the block by 4 spaces or 1 tab. Just like with code spans, `&`, `<`,
and `>` characters will be escaped automatically.
如果要建立一個已經格式化好的程式碼區塊,只要每行都縮排 4 個空格或是一個 tab
就可以了,而 `&`、`<` 和 `>` 也一樣會自動轉成 HTML 實體。
Markdown:
If you want your page to validate under XHTML 1.0 Strict,