If you do this:

```

.. code-block:: yaml

    # Overriding rules with highest precedence, but with legacy format
    - format: rules
...
    - format: rosdistro

```

It will do YAML syntax highlighting (this applies to anything supported by pygments I think).