i am using pdf++ plugin to read and extract informations frommy pdfs. I’ve some personal callout for my studies such as ‘definition’ or ‘theorem’ stuff like that. A lot of my courses are wrote in LaTeX and cannot be copy and paste easily. hopefully pdf++ let us take a rectangular selection of a pdf and paste it as an image. I would like to modify the way it’s past like i can do with classic copy/past to make it a callout.
I’ve tried to dig into the main.js file but i’ve not fing anything.
(i am considering you already have installed callout manager) so for every callout you want to have you may add a new color with the same name as the callout in pdf++ settings. after that open vscode if you are a coward (lmao) search ‘![[’ element with cmd + F or ctrl + F then search the line where it’s write : ‘let f = this.lib.generateMarkdownLink(l, c != null ? c : “”, u, h)’ and replace it by : ‘let f = s ? >[!${s}]\n> + this.lib.generateMarkdownLink(l, c != null ? c : “”, u, h) : this.lib.generateMarkdownLink(l, c != null ? c : “”, u, h);’