Search code examples
urlhyperlinkurimarkdown

How to avoid hyperlink creation when writing down URIs in markdown?


I would like to know how to avoid the automatic generation of links when I write down an URI in a site that accepts Markdown Language.

I know how to do it in this forum, by making use of the code blocks (for example): http://stackoverflow.com

But this trick doesn't work in some places (for example in http://datahub.io).

So given the basic markdown as described here: http://daringfireball.net/projects/markdown/syntax , how could I write down URIs to make them as plain text when parsed (or maybe, how to avoid the parser for a chunk of text, I suppose that would make the trick as well).

Any suggestion would be good appreciated.

Jesús.


Solution

  • I'm sure there is a better way, but this very nasty hack seems to do the trick:

    http[]()://example.com/
    

    I've jammed Markdown's radar with some empty markup (an empty link with no text).