gfm_autolinks.html 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <p>link with . <a href="http://example.com/hello-world">http://example.com/hello-world</a>.</p>
  2. <p>link with ! <a href="http://example.com/hello-world">http://example.com/hello-world</a>!</p>
  3. <p>link with : <a href="http://example.com/hello-world">http://example.com/hello-world</a>:</p>
  4. <p>link with , <a href="http://example.com/hello-world">http://example.com/hello-world</a>,</p>
  5. <p>link with ; <a href="http://example.com/hello-world">http://example.com/hello-world</a>;</p>
  6. <p>link with ) <a href="http://example.com/hello-world">http://example.com/hello-world</a>)</p>
  7. <p>link with nothing <a href="http://example.com/hello-world">http://example.com/hello-world</a></p>
  8. <h3 id="example-597">Example 597</h3>
  9. <p>The scheme http will be inserted automatically:</p>
  10. <p><a href="http://www.commonmark.org">www.commonmark.org</a></p>
  11. <h3 id="example-598">Example 598</h3>
  12. <p>After a valid domain, zero or more non-space non-&lt; characters may follow:</p>
  13. <p>Visit <a href="http://www.commonmark.org/help">www.commonmark.org/help</a> for more information.</p>
  14. <h3 id="example-599">Example 599</h3>
  15. <p>Trailing punctuation (specifically, ?, !, ., ,, :, *, _, and ~) will not be considered part of the autolink, though they may be included in the interior of the link:</p>
  16. <p>Visit <a href="http://www.commonmark.org">www.commonmark.org</a>.</p>
  17. <p>Visit <a href="http://www.commonmark.org/a.b">www.commonmark.org/a.b</a>.</p>
  18. <h3 id="example-600">Example 600</h3>
  19. <p><a href="http://www.google.com/search?q=Markup+(business)">www.google.com/search?q=Markup+(business)</a></p>
  20. <p>(<a href="http://www.google.com/search?q=Markup+(business)">www.google.com/search?q=Markup+(business)</a>)</p>
  21. <h3 id="example-601">Example 601</h3>
  22. <p><a href="http://www.google.com/search?q=(business))+ok">www.google.com/search?q=(business))+ok</a></p>
  23. <h3 id="example-602">Example 602</h3>
  24. <p><a href="http://www.google.com/search?q=commonmark&amp;hl=en">www.google.com/search?q=commonmark&amp;hl=en</a></p>
  25. <p><a href="http://www.google.com/search?q=commonmark">www.google.com/search?q=commonmark</a>&amp;</p>
  26. <h3 id="example-603">Example 603</h3>
  27. <p>&lt; immediately ends an autolink.</p>
  28. <p><a href="http://www.commonmark.org/he">www.commonmark.org/he</a>&lt;lp</p>
  29. <h3 id="example-604">Example 604</h3>
  30. <p><a href="http://commonmark.org">http://commonmark.org</a></p>
  31. <p>(Visit <a href="https://encrypted.google.com/search?q=Markup+(business)">https://encrypted.google.com/search?q=Markup+(business)</a>)</p>
  32. <p>Anonymous FTP is available at <a href="ftp://foo.bar.baz">ftp://foo.bar.baz</a>.</p>
  33. <p>Extended email autolinks:</p>
  34. <h3 id="example-605">Example 605</h3>
  35. <p><a href="mailto:foo@bar.baz">foo@bar.baz</a></p>
  36. <h3 id="example-606">Example 606</h3>
  37. <p>hello@mail+xyz.example isn&#39;t valid, but <a href="mailto:hello+xyz@mail.example">hello+xyz@mail.example</a> is.</p>
  38. <h3 id="example-607">Example 607</h3>
  39. <p><a href="mailto:a.b-c_d@a.b">a.b-c_d@a.b</a></p>
  40. <p><a href="mailto:a.b-c_d@a.b">a.b-c_d@a.b</a>.</p>
  41. <p>a.b-c_d@a.b-</p>
  42. <pre><code>a.b-c_d@a.b_
  43. </code></pre>