I’ve imported the highlight.js lib into my Hype project to highlight some JSON that I’ve to an HTML widget. I then created a function that gets fired upon a button click.
highlight.js seems to be getting called OK, but its not hi-lighting the text. I think its something to do with it being an HTML widget.
I’ve attached an example for reference.
highlight.hype.zip (70.2 KB)