I have compiled a basic script to have my pdf notes and annotations to markdown, but don’t yet know how to make a plugin for it.
Basically, it has three things as of now, I do plan to expand it, but I am not getting a lot of time.
- Capture the comments (those on highlights or the free standing pop ups)
- Capture the highlighted text
- Capture images under any rectangle or circle.
So basically, I can even capture any hand drawings if I choose to draw a rectangle around it. And they will reflect in my notes for the PDF.
Original plan was to make it atomic. As in, each comment as a new note which is linked to the main note. The main note would have worked as a “MOC”?
But I dropped that plan as soon as I saw, there is a need to segregate what is a note and which one is not. So it’s better to have them at one place and upon a second read, you can make them a new note. But, thing is, it it possible. The possibilities are immense!
I have very little experience in coding, and that’s why it took an effort.
I was wondering if there could be a plug-in for such a job.
Also, if I have a python script, how to convert it to a plugin?