stefanopagliari / bibnotes

359 stars 30 forks source link

How to make Highlight color work #74

Closed tao-bai closed 2 years ago

tao-bai commented 2 years ago

new to bibnotes, don't know how to the highlight color feature. Could you please give some examples?

stefanopagliari commented 2 years ago

The "highlight colour" setting defines what happens when a given colour is used to highlight a passage from a PDF. If you want all the passages highlighted in yellow to be prefaced or followed by a given set of characters, then you can specify these around the {{highlight}} placeholder. For instance "IMPORTANT {{highlight}}" will add the word "IMPORTANT" before the highlight of that colour. There are also some pre-defined transformations that can be assigned to the highlights of a given colour. The keywords are specified in the settings. For instance, by typing H3 next to the Green highlight, all the passages highlighted in green will be turned into a level 3 header.