Current documentation: https://www.mediawiki.org/wiki/Extension:CodeMirror
Please update with the following goals in mind:
- Explain how to integrate MediaWiki extensions with CodeMirror (See examples at https://gerrit.wikimedia.org/r/#/c/348673/ and https://gerrit.wikimedia.org/r/#/c/350840/.
- Add updated screenshots. (You can use http://commtech.wmflabs.org/wiki/Sample_page and http://commtech.wmflabs.org/wiki/Test for example content.)
- Explain that the styles can be overridden and link to https://meta.wikimedia.org/wiki/Community_Tech/Wikitext_editor_syntax_highlighting#Color_and_style_guide_.28with_comparison_to_.22Syntax_highlighter.22_and_wikiEd.29.
Let's put the documentation for end-users (editors) at https://meta.wikimedia.org/wiki/Community_Tech/Wikitext_editor_syntax_highlighting. That should include:
- Provide a color coding key explaining what the available highlights are, and how they're colored.
- Explain how a user can override the CodeMirror styles with their own styles (via their user common.css page).
- Some screenshots