Absolute link generation does not start with /

Steps to reproduce

  1. Go to settings, Files & Links, select Absolute Path for New LInk Generation
  2. Create a new file (A) in a subfolder
  3. Create a new file (B)
  4. Inside B, write [[A]] and hit enter.

Did you follow the troubleshooting guide? [Y/N]

Y, running in Sandbox Vault

Expected result / Actual result

Expected: [[/Sub/A|A]]
Got: [[Sub/A|A]]

Same for markdown
Expected: [A](/Sub/A.md)
Got: [A](Sub/A.md)

Note: Oddly enough, manually entering the / in front of the path renders a fully functional link. So I feel like this is a text generation issue only?

Why is this important?

In most other markdown programs, the generated result is a relative URL and therefore will not work. It’s important that absolute links are actually absolute links as part of the promise “Obsidian uses open, non-proprietary files, so you’re never locked in, and can preserve your data for the long term.” :wink: Personally I would prefer to use absolute links because I’m not fully convinced that the link updating mechanic (when moving a file) works as well when using relative links.


	Obsidian version: v1.4.14
	Installer version: v1.4.14
	Operating system: Windows 10 Home 10.0.22621
	Login status: not logged in
	Insider build toggle: off
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on


Damn… I thought I did my research in trying to find existing posts, apologies :sweat_smile:

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