rst_example

Directive for rendering RST alongside its code representation.

Directives

.. rst-example::

Display an RST code-snippet followed by its rendering.

.. rst-example::

    .. note::

       hello world
.. note::

   hello world

Note

hello world