obsidian-advanced-uri: FilePath + Line navigation does not work when Obsidian is in Reading viewmode

Great plugin! I’m working on integrating this with Obsidian.nvim and have run into a snag.

This URI works perfectly when Obsidian is already in the Editing viewmode:

obsidian://advanced-uri?vault=main&filepath=test_note.md&line=42

However, if Obsidian is already in the Reading viewmode, the file does open successfully, but it doesn’t scroll to the correct position in the file. It just stays wherever it is, or otherwise stays at the top if the file wasn’t open to begin with.

Thanks for putting this plugin together!

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (6 by maintainers)

Commits related to this issue

Most upvoted comments

I’m switching to source mode now correctly.