add some folding logic and mustache syntax highlighting