:orphan:

.. _notebook_examples:

Notebook-style Narrative Gallery
================================

You can have multiple galleries, each one for different uses. For example,
one gallery of examples and a different gallery for tutorials.

This gallery demonstrates the ability of Sphinx-Gallery to transform a file
with a Jupyter notebook style structure (i.e., with alternating text and code).



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Sphinx-Gallery is capable of transforming Python files into reST files with a notebook structur...">

.. only:: html

  .. image:: /tutorials/images/thumb/sphx_glr_plot_parse_thumb.png
    :alt:

  :ref:`sphx_glr_tutorials_plot_parse.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Alternating text and code</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /tutorials/plot_parse


.. only:: html

  .. container:: sphx-glr-footer sphx-glr-footer-gallery

    .. container:: sphx-glr-download sphx-glr-download-python

      :download:`Download all examples in Python source code: tutorials_python.zip </tutorials/tutorials_python.zip>`

    .. container:: sphx-glr-download sphx-glr-download-jupyter

      :download:`Download all examples in Jupyter notebooks: tutorials_jupyter.zip </tutorials/tutorials_jupyter.zip>`


.. only:: html

 .. rst-class:: sphx-glr-signature

    `Gallery generated by Sphinx-Gallery <https://sphinx-gallery.github.io>`_
