60 lines
2.9 KiB
HTML
60 lines
2.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
|
<title>~/code/vim-markdown/spec/features/autolinks.md.html</title>
|
|
<meta name="Generator" content="Vim/7.4">
|
|
<meta name="plugin-version" content="vim7.4_v1">
|
|
<meta name="syntax" content="markdown">
|
|
<meta name="settings" content="use_css,pre_wrap,no_foldcolumn,expand_tabs,prevent_copy=">
|
|
<meta name="colorscheme" content="none">
|
|
<style type="text/css">
|
|
<!--
|
|
pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffff; }
|
|
body { font-family: monospace; color: #000000; background-color: #ffffff; }
|
|
* { font-size: 1em; }
|
|
.Underlined { color: #c000c0; text-decoration: underline; }
|
|
-->
|
|
</style>
|
|
|
|
<script type='text/javascript'>
|
|
<!--
|
|
|
|
-->
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<pre id='vimCodeElement'>
|
|
|
|
URL like <span class="Underlined"><a href="http://google.com">http://google.com</a></span> gets auto linked
|
|
|
|
URL may contain punctuation <span class="Underlined"><a href="http://example.com/foo,bar,baz">http://example.com/foo,bar,baz</a></span>
|
|
|
|
URL may be preceded by punctuation !<span class="Underlined"><a href="http://example.com/foo,bar,baz">http://example.com/foo,bar,baz</a></span> so the exclamation point is not part of the URL
|
|
|
|
URL are terminated by punctuation so <span class="Underlined"><a href="http://example.com/foo">http://example.com/foo</a></span>, the comma is not part of the URL
|
|
|
|
URL may contain parenthesis <span class="Underlined"><a href="http://example.com/(foo)?foo[1]=bar&foo[2]=baz">http://example.com/(foo)?foo[1]=bar&foo[2]=baz</a></span>
|
|
|
|
URL may be surrounded by parenthesis (<span class="Underlined"><a href="http://example.com/foo">http://example.com/foo</a></span>) but parenthesis are not part of the URL
|
|
|
|
URL may terminate with parenthesis <span class="Underlined"><a href="http://example.com/foo()">http://example.com/foo()</a></span>
|
|
|
|
URL may be surrounded by parenthesis (<span class="Underlined"><a href="http://example.com/foo()">http://example.com/foo()</a></span>) but the surrounding parenthesis are not part of the URL
|
|
|
|
Email addresses <span class="Underlined">bill@microsoft.com</span> get auto linked
|
|
|
|
Path are supported <span class="Underlined">/clean/code/that/works</span> but they must be preceded by a non work because this <span class="Underlined">/is</span> a path and this/is not a path
|
|
|
|
Pull requests and issues are linked <span class="Underlined">#42</span>
|
|
could be preceded by symbols \<span class="Underlined">#42</span>
|
|
could not be preceded by letters a#42 or numbers 3#42
|
|
|
|
Reference to other users are linked <span class="Underlined">@gabrielelana</span>
|
|
could be preceded by symbols \<span class="Underlined">@gabrielelana</span>
|
|
could not be preceded by letters a@gabrielelana or numbers 3@gabrielelana
|
|
</pre>
|
|
</body>
|
|
</html>
|
|
<!-- vim: set foldmethod=manual : -->
|