question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Markdown for url without hyperlink

See original GitHub issue

Is 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:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:16 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
dinaayoubcommented, Jan 8, 2021

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.

1reaction
wmthorcommented, Jul 24, 2019

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 usehttps<span>://</span>www.github.com, and then do a string replace <span>://</span> to :// in your JSON parser.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found