In my Sphinx documentation I have the following code-block: .. code-block:: python import logging logging.getLogger('mymodule').setLevel(logging.INFO) but when the documentation is rendered the code is only partially highlighted: Is it possible to highlight also the other parts? The only (related) settings I am using in conf.py is pygments_style = 'default'. Continue reading...