This is how I'm highlighting HTML strings in Rust which I use to build my site.
look at this and combine it: id: 2ujekgik
It took a while to figure out the `&ss.syntaxes()`` part based off the docs.
I don't understand what's going on there either. Something to investigate.
TODO is to look at this for a possibly simpler way: https://docs.rs/syntect/latest/syntect/easy/struct.HighlightLines.html