轻松记录您
灵感和创意

markdown 的链接方式

1. 目录形式

@[toc]1

效果如本文的目录样式

2. 行内链接 Inline-style links1

带标题

This is [an example](http://example.com/ “这是标题”) inline link.

效果:

This is an example inline link.

1

不带标题

[This link](http://example.net/) has no title attribute.

效果:

This link has no title attribute.

1

3. 参考样式链接 Reference-style links1

This is [an example][id2] reference-style link.[id1]: http://example.com/ “Optional Title Here”[ID2]: http://example.com/ “Optional Title Here”[Id3]: http://example.com/ ‘Optional Title Here'[id4]: http://example.com/ (Optional Title Here)123456

效果:

This is an example reference-style link.

隐式链接名

I get 10 times more traffic from [Google][] than from [Yahoo][] or [MSN][].[google]: http://google.com/ “Google”[yahoo]: http://search.yahoo.com/ “Yahoo Search”[msn]: http://search.msn.com/ “MSN Search”12345

效果:

I get 10 times more traffic from Google than from

Yahoo or MSN.

备注:

链接名(id1,id2等)不区分大小写1

4. 脚注 footnote2

You can create footnotes like this[^foot].[^foot]: Here is the *text* of the **footnote**.123

效果:

You can create footnotes like this3.

未经允许不得转载:坚果之云 Markdown » markdown 的链接方式
分享到: 更多 (0)

坚果云Markdown轻松记录您 灵感和创意

坚果云Markdown下载坚果云Markdown介绍