@ -198,26 +198,42 @@ all the necessary escaping for you. If you use an ampersand as part of
@@ -198,26 +198,42 @@ all the necessary escaping for you. If you use an ampersand as part of
an HTML entity, it remains unchanged; otherwise it will be translated
into `&`.
Markdown 允許你直接使用這些符號,但是你要小心跳脫字元的使用,如果你是在
HTML 實體中使用 `&` 符號的話,它不會被轉換,而在其它情形下,它則會被轉換
成 `&`
So, if you want to include a copyright symbol in your article, you can write:
However, inside Markdown code spans and blocks, angle brackets and
@ -226,6 +242,10 @@ Markdown to write about HTML code. (As opposed to raw HTML, which is a
@@ -226,6 +242,10 @@ Markdown to write about HTML code. (As opposed to raw HTML, which is a
terrible format for writing about HTML syntax, because every single `<`
and `&` in your example code needs to be escaped.)
不過要注意的是,code 範圍內,不論是行內還是區塊, `<` 和 `&` 兩個符號都 *一定*
會被轉換成 HTML 實體,這項特性讓你可以很容易的用 Markdown 寫 HTML code
(和 HTML 相對而言, HTML 語法中,你要把所有的 `<` 和 `&` 都轉換為 HTML 實體,