-
-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FilePath + Line navigation does not work when Obsidian is in Reading viewmode #91
Comments
I'm switching to source mode now correctly. |
Thanks for the speedy response, wow! This is a pretty decent workaround. But is there any chance we could make it work while remaining in the Reading/viewing mode? The issue with the change is that it won't respect a user's current view state. It does scroll as expected, though, so that's good. |
I see, but I don't know if that's possible. |
OK, no worries. This is good enough! |
Hello everyone, any update about this issue? I see it is possible to specify view mode with URI, see: https://vinzent03.github.io/obsidian-advanced-uri/concepts/navigation_parameters But how can we exactly specify the view mode in the |
@pidgeon777 You should be able to specify the line for |
@Vinzent03 the fact is that unfortunately, I don't know how to specify the Finally, what about doing something as follows, if the issue with
This could be done plugin-side in two ways.
What do you think? Still, it would be much much better if the currently active mode ( |
Switching temporarily to another mode is actually a good idea. |
Eventually, this switch could be enabled in the Obsidian plugin panel with a new option, if users want to preserve the old behaviour until the I could beta-test your implementation once if done if you wish. |
Hello @Vinzent03, any update? |
Thanks for the reminder, available in new release! |
I tested but unfortunately doesn't seem to work, my test:
As a result, |
Now, don't know what happened I think after the plugin update, it also reports: When executing:
no matter if EDIT: This happens when the file is not already opened in |
After doing some more test, I notice it's not always working. Sometimes it does, sometimes not. I found no way to solve this, so I'm for now not supporting it. |
Hello, I would like to ask if this problem still persists, or it has been fixed Greetings |
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:
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!
The text was updated successfully, but these errors were encountered: