Closed BraedonWooding closed 2 weeks ago
Thanks for the addition!
I'm making one change to the PR - so that we only do syntax highlighting in multiline literal strings (the '''
ones) not basic strings. This is consistent with a few of the other languages (C++, Rust, Go) where we choose the string type that needs the least amount of escaping (otherwise the escape characters will interfere with the embedded language syntax highlighting)
Just threw this together when I needed it for a project.
Thanks for this library! Let me know if you want any adjustments.