How can I insert role into code-block directive?

68 Views Asked by At

I would like to insert role :math: (for example) into code-block directive:

.. code-block:: 

   :math:`2^{64} - 1`

but the directive does not handle this role and I get this in pdf:

pdf output

How can I insert role (math or others) into code-block directive?

0

There are 0 best solutions below