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.

Broken links to index pages (when using obsidian)

See original GitHub issue

What happens?

Internal links created in Obsidian, that point to some_folder/page_name are converted - as expected - to URLs which end with some_folder/page_name. Unfortunately, index.md pages are treated exactly the same, so resulting URLs end with some_folder/index, which results in 404.

Example: In docs/index page, I’m creating an internal link to demo/index page, like so: [[demo/index]]. A resulting anchor tag will point to [...]/demo/index, instead of [...]/demo.

Temporary workaround

Manually remove /index part from [[demo/index]] link automatically created by Obsidian, and leave [[demo]] only.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
khalilcodescommented, Aug 4, 2022

@olayway this bug has been fixed with the latest update in remark-wiki-link-plus ie., v1.0.1 and package.json has been updated to reflect the changes.

0reactions
olaywaycommented, Aug 10, 2022

@khalilcodes Works! Thank you 🌷!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Broken links in relative path mode on move/rename
In Relative-path mode, relative links should be updated when: a linked file is moved (done!) AND a file that contains the link is...
Read more >
Generated link is broken? - Obsidian Portal Community Forums
I build the links using the wiki link button in the sidebar. Any time I try to build a link to these pages...
Read more >
Preventing Link Rot in my Obsidian Vault - Ben Congdon
As my Obsidian vault grows, one thing that becomes more of a risk is the potential for link rot.
Read more >
A beginner's guide to using the Obsidian Notes application
Obsidian backlinks allow bi-directional linking. This means that if page A links to page B, Obsidian also knows that page B is linking...
Read more >
A basic guide to formatting notes in Obsidian.md - Ross Griffin
Most Obsidian Tutorials start with how to link pages together, this doesn't ... to your notes without breaking the flow of your writing....
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