This is a demonstration of the XQuery highlighting module for CodeMirror. The formatting is CSS driven and very easy to customize to your liking. There are three sample styles sets below. You can edit or paste in any code below to give it a test run.
Light 1 Light 2 Dark