I tried to use the json lexer in a *.rst document with sphinx. This one works:
.. code-block:: console
//Comment
key1: value,
key2: value2,
But when I try to use json like this:
.. code-block:: json
//Comment
key1: value,
key2: value2,
I get an error
WARNING: Could not lex literal_block as "json". Highlighting skipped.
I checked with pygmentize -L lexers | grep json but this returns, that json is on board. What is the problem here?