mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
cff0237299
Github Flavored Markdown detects urls and mails embeded in the text without any extra markup or delimiter. This commit adds this feature to showdown through an option called "simplifiedAutoLink". Related to #164
12 lines
319 B
HTML
12 lines
319 B
HTML
<p>foo.bar</p>
|
|
|
|
<p>www.foobar</p>
|
|
|
|
<p><a href="www.foobar.com">www.foobar.com</a></p>
|
|
|
|
<p><a href="http://foobar.com">http://foobar.com</a></p>
|
|
|
|
<p><a href="https://www.foobar.com/baz?bazinga=nhecos;">https://www.foobar.com/baz?bazinga=nhecos;</a></p>
|
|
|
|
<p><a href="http://www.google.com/">http://www.google.com</a></p>
|