Markdown for url without hyperlink
See original GitHub issueIs there a way to add urls in the markdown editor without the automatically generated hyperlink? I was surprised to find out that urls were automatically converted to hyperlinks and can’t find a way to remove them except for this hack that sort of solves it.
[http://www.url-here-instead.com]()
I would think there needs to be a way to remove the automatically generated hyperlinks, or have it documented if there is. Or perhaps another solution would be to remove the automatically generated hyperlink, as if an author wanted the link they would explicitly specify it with the markdown.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:16 (3 by maintainers)
Top Results From Across the Web
How do I prevent auto-generated links in the GitHub wiki?
Original answer (2014): This isn't limited to wiki page, and is part of the GFM (GitHub Flavored Markdown) url autolinking feature.
Read more >Allow suppression of automatic linking of web addresses
I think an easy way to mark this up would be something like <!http://example.com> , making the address appear in plain text without...
Read more >Creating Links in Markdown - The AnVIL
Markdown syntax for a hyperlink is square brackets followed by parentheses. The square brackets hold the text, the parentheses hold the link.
Read more >Remove links (URLs) from markdown files? : r/shortcuts - Reddit
I'm trying to remove hyperlinks (i.e., URLs) from Markdown files formatted like this: (URL title here)[ http://www.urlhere.com] .
Read more >Links - Markdown Tutorial - CommonMark
Links can be either inline with the text, or placed at the bottom of the text as references. Link text is enclosed by...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
To answer the question on the use case, it’s for documentation purposes - for example, on our API i want to instruct people to insert certain information into the URL. e.g. begin the actual game ‘https://latte-blackjack.herokuapp.com/next/{dealerid}’
I don’t want them to be able to click that because it won’t work. they have to remove {dealerid} and replace it with the uuid our API provides them.
There doesn’t seem to be any real fix for it, and the only way is a workaround. For your case, the simplest workaround might be to use
https<span>://</span>www.github.com
, and then do a string replace<span>://</span>
to://
in your JSON parser.