Reported on mw:Help talk:Extension:CodeMirror by @Alien333 and later requested by @stjn on Discord.
When a page makes heavy use of templates, most if not all text will appear as purple via .cm-mw-template (template values). Simply resetting the color here seems to produce much more readable wikitext.
Using en:Template:Non-free fair use as an example:
| Before | After |
(ignore red underlines, that was just when the text had focus vs not)
And a modified version of wikisource:Page:Poems Odom.djvu/283:
| Before | After |
The template page titles and parameter names still have the grounding, but you're not overwhelmed by a sea of purple.
This should be checked for accessibility compliance first, but I think it's otherwise a nice improvement that I imagine all users would appreciate.
Related and would still be valid if the above is implemented: T216210: Bold and italic template values are not bolded or italicized




