Plugin Fragility? #48
-
Hi @RyotaUshio, Could you expand a bit more on the following warning from the plugin main page? What should new adopters of PDF++ be mindful of? I'm not sure what would follow if the plugin breaks. Would that be a temporary inconvenience or could it be a permanent break that would result in all our links to PDF content no longer functioning?
I'm wondering about how to utilize the PDF++ functionality in a way that is robust over the coming years. Like you, I hope what you've built will be natively available in Obsidian in the not too distant future! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Obsidian's public API does not allow plugin developers to directly interact with their PDF viewer. Although I will try to release the necessary updates as soon as possible in that case, the users might be forced to stay in the older version of Obsidian until the newer version of PDF++ is available.
All of your links will be able to take you to the correct destination even after this plugin dies because PDF++ does not introduce any original link syntax except for (This is in contrast to other PDF-related plugins such as Annotator and MarkMind, which leave a bunch of JSON code blocks that are non-interpretable without the plugins.) Note Update: From version 0.36.0, PDF++ has introduced a new link syntax If PDF++ stops working, the However, backlink highlighting will no longer work if PDF++ dies, which means
But you will be still able to use the Obsidian's built-in backlinks view to navigate to the markdown file that the link lives in. The good news is that you don't necessarily have to use the backlink highlighting feature to annotate PDF files. You are also free to use external apps like Adobe Acrobat and so on to add highlights. PDF++'s features, e.g. copying a formatted link to a highlight and hovering over a highlight to show a popover preview of backlinks, can work along with such annotations as well. Lastly, I'm planning to add a command that exports backlink highlights into actual highlights embedded directly into PDF files |
Beta Was this translation helpful? Give feedback.
Obsidian's public API does not allow plugin developers to directly interact with their PDF viewer.
For this reason, I had to investigate and rely on Obsidian's internals that is not exposed as a part of the public API.
However, Obsidian's authors may rewrite such non-public code in the near future (that's why they choose not to include that code in the public API), in which case this plugin's codebase might be affected.
Although I will try to release the necessary updates as soon as possible in that case, the users might be forced to stay in the older version of Obsidian until the newer version of PDF++ is available.
Also, you need to keep in mind there is no guarantee that I can keep mai…