Chartjs-Tiny error in the ChartJs book

1👍

It’s matching on the space between the words (you can go to http://www.chartjs.org/docs/latest/charts/line.html?h=pointhitradius%20Number as well to match across words), and inserting a mark element when it finds a match (in this case, to the space). Inserting an element between table cells results in this kind of behavior, but the highlighting library is built for more generic uses.

The particular library they’re using for highlighting looks to be https://markjs.io.

Leave a comment