Extension:CodeMirror provides a standalone editor in MediaWiki with syntax highlighting and other advanced syntactical editing features using the CodeMirror library. It supports a variety of languages, notably MediaWiki wikitext, JavaScript, CSS, JSON, Lua and Vue.
How to use the editor on a wiki: the settings, the keyboard shortcuts and what each feature does.
The generated reference for the extension's own classes and the hooks an extension or a gadget can use.
Every CSS class the wikitext mode applies, with a live example of each, so you can override them in your personal CSS.