:orphan:



.. _sphx_glr_tutorials:

.. _notebook_examples:

Notebook style example
======================

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-thumbcontainer" tooltip="Sphinx-Gallery is capable of transforming Python files into rST files with a notebook structure...">

.. only:: html

 .. figure:: /tutorials/images/thumb/sphx_glr_plot_parse_thumb.png
     :alt: Alternating text and code

     :ref:`sphx_glr_tutorials_plot_parse.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /tutorials/plot_parse
.. raw:: html

    <div class="sphx-glr-clear"></div>



.. only :: html

 .. container:: sphx-glr-footer
    :class: 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>`_
