Syntax Highlighting where markup = "rst"

Is it possible to do syntax highlighting for code blocks using reStructuredText format?

I would normally prefix code blocks in this format for rst to send via pygmentize:

.. code:: python

         def f(x):
             pass

Although it renders with syntax highlighting using rst2html, if fails to render with syntax through hugo. All code blocks of differing languages are bitonal fixed width text, only.

I have attempted to use the highlight shortcode as well, but I cannot find a way to use any shortcode in rst markup.

That should just work, but I’ll admit I haven’t tested it myself, so it might be a glitch (a prettier word for bug).