Is there a syntax for textless links in Markdown?

I want to write

http://www.foo.com/ 

and get the link with the URL as text (for example, in the HTML output). I do not want to write

 [http://www.foo.com/](http://www.foo.com/) 

Is it possible?

+7
markdown hyperlink
source share
1 answer

Yes, here is the relevant section of the documentation :

AUTOMATIC LINKS

Markdown supports a shortcut style for creating β€œautomatic” links for URLs and email addresses: just place the URL or email address using angle brackets. This means that if you want to display the actual text of the URL or email address, as well as have a link to clicks, you can do this:

 <http://example.com/> 

Markdown will turn this into:

 <a href="http://example.com/">http://example.com/</a> 
+13
source share

All Articles