Skip to content

Commit 8cfce53

Browse files
author
caichengzhang
committed
Site updated: 2016-06-15 18:25:19
1 parent 0c273bf commit 8cfce53

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

2016/04/28/Markdown-语法说明-简体中文版/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ <h2 id="这是一个标题。"><a href="#这是一个标题。" class="headerlin
473473
<p>Markdown 支持以比较简短的自动链接形式来处理网址和电子邮件信箱,只要是用方括号包起来, Markdown 就会自动把它转成链接。一般网址的链接文字就和链接地址一样,例如:</p>
474474
<p><a href="http://example.com/" target="_blank" rel="external">http://example.com/</a><br>Markdown 会转为:</p>
475475
<p><a href="http://example.com/" target="_blank" rel="external">http://example.com/</a><br>邮址的自动链接也很类似,只是 Markdown 会先做一个编码转换的过程,把文字字符转成 16 进位码的 HTML 实体,这样的格式可以糊弄一些不好的邮址收集机器人,例如:</p>
476-
<p><a href="&#x6d;&#97;&#x69;&#x6c;&#x74;&#x6f;&#x3a;&#x61;&#100;&#x64;&#114;&#101;&#x73;&#x73;&#x40;&#x65;&#120;&#x61;&#x6d;&#x70;&#108;&#101;&#46;&#x63;&#111;&#109;">&#x61;&#100;&#x64;&#114;&#101;&#x73;&#x73;&#x40;&#x65;&#120;&#x61;&#x6d;&#x70;&#108;&#101;&#46;&#x63;&#111;&#109;</a><br>Markdown 会转成:</p>
476+
<p><a href="&#x6d;&#97;&#105;&#108;&#x74;&#111;&#58;&#97;&#100;&#100;&#x72;&#101;&#115;&#115;&#x40;&#x65;&#x78;&#x61;&#x6d;&#x70;&#108;&#x65;&#x2e;&#x63;&#x6f;&#109;">&#97;&#100;&#100;&#x72;&#101;&#115;&#115;&#x40;&#x65;&#x78;&#x61;&#x6d;&#x70;&#108;&#x65;&#x2e;&#x63;&#x6f;&#109;</a><br>Markdown 会转成:</p>
477477
<p><a href="&#x6D;&#x61;i&#x6C;&#x74;&#x6F;:&#x61;&#x64;&#x64;&#x72;&#x65;
478478
&#115;&#115;&#64;&#101;&#120;&#x61;&#109;&#x70;&#x6C;e&#x2E;&#99;&#111;
479479
&#109;">&#x61;&#x64;&#x64;&#x72;&#x65;&#115;&#115;&#64;&#101;&#120;&#x61;<br>&#109;&#x70;&#x6C;e&#x2E;&#99;&#111;&#109;</a><br>在浏览器里面,这段字串(其实是 <a href="mailto:[email protected]" target="_blank" rel="external">[email protected]</a>)会变成一个可以点击的「[email protected]」链接。</p>

0 commit comments

Comments
 (0)