Zotfile: setting highlight extraction opacity
Hello,
I hope it is okay to ask for help with Zotfile on this forum.
I'm currently extracting highlighted text including the color of the highlight. However the opacity is such that it is barely readable. I'm wondering if I can add something to the string that I'm using (below) to lower the opacity of the background color.
Cheers,
Haydn
I hope it is okay to ask for help with Zotfile on this forum.
I'm currently extracting highlighted text including the color of the highlight. However the opacity is such that it is barely readable. I'm wondering if I can add something to the string that I'm using (below) to lower the opacity of the background color.
p><span style="background-color:%(color);">"%(content)"</span> (%(cite))</p>
Cheers,
Haydn
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
style="background-color:%(color);"
To:
style="background-color:%(color);opacity:0.5;"
Bit of further info: this field is called:
extensions.zotfile.pdfExtraction.formatAnnotationHighlight
I don't know whether there are further related fields.
style="background-color:rgba(%(color).concat(.5));"