As a Wikidata editor, I would like to be able to read ShEx more easily.
**Problem:**
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).
**Example:**
https://www.wikidata.org/wiki/EntitySchema:E10
**Screenshots/mockups:**
Current:
{F31123011}
With Pygments:
{F31123013}
**Tech notes:**
Pygments support for ShEx was merged recently-ish ([pull request](https://bitbucket.org/birkenfeld/pygments-main/pull-requests/831/add-lexer-for-shexc)), but has not made it into any release yet. And once it’s released, we’ll presumably have to wait for [Extension:SyntaxHighlight](https://www.mediawiki.org/wiki/Extension:SyntaxHighlight) to pull in the new Pygments version.
**BDD**
GIVEN
AND
WHEN
AND
THEN
AND
**Acceptance criteria:**
*
**Open questions:**