CodeMirror 2: reStructuredText mode

The reStructuredText mode supports one configuration parameter:

verbatim (string)
A name or MIME type of a mode that will be used for highlighting verbatim blocks. By default, reStructuredText mode uses uniform color for whole block of verbatim text if no mode is given.

If python mode is available (not a part of CodeMirror 2 yet), it will be used for highlighting blocks containing Python/IPython terminal sessions (blocks starting with >>> (for Python) or In [num]: (for IPython).

MIME types defined: text/x-rst.