As a Wikidata editor, I would like to be able to read ShEx more easily.
We do not have syntax highlighting when viewing EntitySchema pages – just a dull, grey <pre>.
Note that this is distinct from syntax highlighting when editing the pages (T224962).
Pygments support for ShEx was merged recently-ish (pull request), but has not made it into any release yet. And once it’s released, we’ll presumably have to wait for Extension:SyntaxHighlight to pull in the new Pygments version.
Alternative option discussed in the bug triage hour: use a view-only mode of YASHE.
GIVEN a Entity Schema
WHEN in view mode
THEN the ShEx code has syntax highlighting
- the view mode of an Entity Schema page has syntax highlighting for the ShEx code