How to prevent the automatic creation of links on the GitHub wiki?

On the GitHub wiki page, if I type:

www.foobar.com 

GitHub automatically assumes that it is a URL and makes the text a hyperlink to http://www.foobar.com . However, sometimes I don’t want to create a hyperlink. Is there any way to stop this behavior? Perhaps some markdown?

+21
source share
4 answers

This is not limited to the wiki page and is part of the GFM (GitHub Flavored Markdown) URL autodetection function a>.

Including them in `` may work, but displays the URL as a code: foo http://example.com .

 foo `http://example.com` bar 

Another trick ( mentioned in this meaning )

 ht<span>tp://</span>example.com 

This will display http://example.com as plain text.

In your case (without http: //)

 w<span>ww.</span>foobar.com 

It would also display www.foobar.com as plain text.

+26
source

You can also just apply a backslash to the colon (or any other punctuation, obviously), like so:

 http\://www.foobar.com 
+1
source

I had the same problem, after much research, I was able to solve using the following method.

Desativar Links Cars Make Markdown

0
source

In addition, if you are having problems with something other than automatic URL binding, I found a way out. works the same way.

Example:

 foobar.web -> foobar&#46;web 
0
source

Source: https://habr.com/ru/post/974927/


All Articles