How to create callouts with selected image in pdf++

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 hope you’ll help me fix this problem :slight_smile:

hi, hope this will help someone.

So if you want to do this follow these rules :

(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);’

and it’s done !

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.