Syntax highlighting for turtle

I am working on a site that displays turtle snippets. I was wondering whether anyone knows of any libraries for turtle syntax highlighting or even if anyone has any suggestions for which parts should be highlighted.

Michael Hausenblas said Toby Inkster might have coded something, but we couldn't find it online.