web
web copied to clipboard
update to newer version of CodeMirror
Or, if CodeMirror is no longer maintained, a library that is.
This would provide API method to colour individual lines.
stdout and stderr could then be merged into a single file called output.