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.

Links not working

See original GitHub issue

I have two markdown documents, let’s call them Foo and Bar; they reside as files Foo.md and Bar.md in the GitHub wiki repository.

From Foo I am linking to Bar using this syntax:

[Bar](Bar)

While the link works as expected on GitHub, I get a 404 when using Grip – of course, I agree, Grip links to /Bar instead of /Bar.md… However, adding .md will break the link at GitHub.

How would I write the markdown in a way that both, GitHub and Grip, will link the two documents correctly?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
joeyespocommented, Apr 13, 2016

@p3k Yeah, go with what @dawsonbotsford is recommending with [Bar](./Bar.md).

It’s more of a coincidence that one absolute URL works with GitHub and another works with grip. Relative URLs make more sense when linking Markdown files on GitHub.

0reactions
joeyespocommented, Apr 29, 2016

Interesting. From your example, @akagomez, looks like including .md redirects to the Markdown source file at raw.githubusercontent.com.

#175 attempts to render all Wiki-style links, including adding an extension if it’s not provided, addressing this issue. Since that PR covers all the Wiki link cases, let’s move the discussion there.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Links not Opening in the Browser
If links are not opening up in the browser, or if two tabs/windows are opening on each click, try the following: 1) Change...
Read more >
How to Fix Links Not Working in Chrome
Open the Links in Incognito Mode · Disable Chrome Extensions · Update Google Chrome · Clear Cache and Cookies · Reset Browser Settings...
Read more >
Why Won't My Laptop Let Me Click on Links?
If your computer won't let you click on links, there's either a broken setting, or a piece of malware is intentionally trying to...
Read more >
Links Not Opening in Chrome (Solved!) - YouTube
In this video I am gonna be showing you how to fix the problem of shopping links and ad links that do not...
Read more >
why broken links are a problem & 5 steps to fix them
Links may be broken for a variety of reasons, including the URL being mistyped, the webpage no longer being online, the page's URL...
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