showdown
Version:
A Markdown to HTML converter written in Javascript
7 lines (6 loc) • 566 B
HTML
<p><a href="http://www.google.com/foobar">http://www.google.com/foobar</a></p>
<p><a href="http://www.google.com/foobar">www.google.com/foobar</a></p>
<p><a href="ftp://user:password@host.com:port/path">ftp://user:password@host.com:port/path</a></p>
<p>this has some <a href="http://www.google.com/foobar">http://www.google.com/foobar</a> in text</p>
<p>this has some <a href="http://www.google.com/foobar">www.google.com/foobar</a> in text</p>
<p>this has some <a href="ftp://user:password@host.com:port/path">ftp://user:password@host.com:port/path</a> in text</p>