Have Obsidian exclude .md extension when creating links?

If you have “Use [[Wikilinks]]” turned off so that Obsidian creates Markdown links to other markdown files is there a way to prevent it from including the .md file extension?

[page 2](page-2) and [page 2](page-2.md) both work as links. I’d like all my links to not include the .md.

The reason for this is I’m using a documentation tool called Astro that dynamically generate routes from markdown files. It’s expecting page-2 as the URL but Obsidian always adds .md so I get a 404.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.