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
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));"