-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
[FR] resizable selection area? #36
Comments
First of all, what makes you want to avoid just doing the copy-paste once again? As for the
Auto-updating not only the link itself but also the surrounding texts will be very difficult given the variety of custom copy formats. Updating link texts will not be difficult, but as you say, opening too many PDF embeds might degrade the performance. Can you kindly provide a reference for the Logseq feature you mentioned? Thank you very much for considering to support me. It really means a lot to me. |
perfectionism
It depends on the difficulty of implementing this feature, the workflow is already good enough, it's just another quality-of-life kind of enhancement
I just realized a more approachable way to achieve this we need to keep sync between the link and quoted text (by a unique identifier), let us separate this into two problems
the first one is pretty easy, we can use query params like below
the second one is the same as zotlit and flashcards-obsidian, we put an explicit identifier just around the quoted text
as we have backlinks, we already have a mapping relationship between the identifier and file path, we could directly search(regex?) the identifier in that file, then replace the corresponding region an example regex pattern
|
@SSmJaE I've just updated funding methods and added ko-fi, which supports PayPal! I see, so even after the text selection ( That's an interesting idea. But how should we handle the variety of copy template formats? To make this happen, we will have to identify which template format was used for the quote. |
hi, any ideas?🙃 |
+1 on this feature. Sometimes I resize the rectangular box on another application... while it updates on pdf++, for some reason the note that was embedding the rectangular box, doesn't update... |
2025-02-19.06-41-40.mp4Does this make sense @RyotaUshio |
hi, I just wonder if there any possible to update the selection area, after initially pasting the quote to the markdown file
it's two separate problems actually
I've noticed that the link to the annotation contains the selection area, like below
simply envision this, implementing the resize may depend too much on obsidian internals, and may take too much effort.
since now you can manage backlinks, just updating the backlinks may be more approachable. if we could update the selection query params in links, we can somehow emulate such resize behavior
the second problem may not be so easy, and if we use embedded with margin, maybe it is not necessary to implement this. but I am somehow concerned about the performance if you embed too many PDF viewer instances in tabs, especially when you open dozens of tabs.
the way how logseq implements this feature may give an inspiration. it establishes an external identifier manager, in which the annotation and the quoted are both linked to that identifier, once the annotation changes, the corresponding quoted text will also get updated. but this will also need too much effort.
by the way, is there any other way I could sponsor you? Neither GitHub sponsor nor buymeacoffee support PayPal, while I don't have any bank card which I can use directly on these websites
The text was updated successfully, but these errors were encountered: