Links with parenthesis in path does not render in preview mode


I sometimes link to files on my computer using the format [some text](file:///Users/me/path/to/file) and this works great. For reasons outside my control (mounted Sharepoint repositories) some of my files are in folders containing parenthesis in the path. E.g. [some text](file:///Users/me/path (note)/to/file). These links does not render in preview mode, and are not clickable in preview mode. They are clickable in edit mode.

Steps to reproduce

In edit mode, add link to file with parenthesis in the path.
Open preview mode

Expected result

The link should render as is normal for links. The link should be clickable.

Actual result

The link does not render correctly, and is not clickable. It is clickable in edit mode,


  • Operating system: MacOS 11.0.1
  • Obsidian version: 0.10.11

Additional information

Screenshot 2021-02-05 at 14.29.48

you need to url encode file:/// links. The space is also a problem here.

1 Like

Thank you, I tried that and it works.