It’s worked well for syntax highlighting. See this post on Discourse, the relevant section here, and detailed looks here, here, and here.