Anything out there that lets one programatically query the style on an element? I get a DOM object from lxmlhtml.fromstring(), but haven't figured out how to get element styles, so I can display something in bold, or apply a term color.
if those styles are defined inline it should be straightforward but most likely there's external styles being applied which might be a nontrivial problem to solve
However we do have document.defaultView.getComputedStyle which probably will solve most of your needs. Not sure if that API is available with this tool though