This page demonstrates CodeMirror's Freemarker parser. Written by Magnus Ljung, released under a BSD-style license.

This parser is very rudimentary and only supports color highlighting, not indentation.