File: export.rst

package info (click to toggle)
jupyterlab 4.0.11%2Bds1%2B~cs11.25.27-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 43,496 kB
  • sloc: javascript: 18,395; python: 8,932; sh: 399; makefile: 95; perl: 33; xml: 1
file content (56 lines) | stat: -rw-r--r-- 1,747 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.. Copyright (c) Jupyter Development Team.
.. Distributed under the terms of the Modified BSD License.

.. _user_export:

Exporting Notebooks
===================

JupyterLab allows you to export your jupyter notebook files (``.ipynb``)
into other file formats such as:

-  Asciidoc ``.asciidoc``
-  HTML ``.html``
-  LaTeX ``.tex``
-  Markdown ``.md``
-  PDF ``.pdf``
-  ReStructured Text ``.rst``
-  Executable Script ``.py``
-  Reveal.js Slides ``.html``

To access these options, while a notebook is open, browse the File menu:

.. image:: ../images/exporting-menu.png
   :align: center
   :class: jp-screenshot

Note: The exporting options depend on your nbconvert configuration. For more
information visit the
`official nbconvert documentation <https://nbconvert.readthedocs.io/en/latest/>`__.

.. _user_export_revealjs:

Reveal.js Slides
----------------

In order to export your notebooks as `Reveal.js <https://github.com/hakimel/reveal.js>`__
slides, follow these steps:

1. Open a notebook by double clicking it in the
   :ref:`file browser <working-with-files>`.
2. Select Property inspector in the :ref:`right sidebar <right-sidebar>`.
3. Select the slide type (Slide, Subslide, Fragment, Skip, Notes).

.. image:: ../images/exporting-slide-type.png
   :align: center
   :class: jp-screenshot

4. Activate another cell.
5. Repeat 3 and 4 until you selected the slide type for all of your cells.

After completing these steps, browse the file menu and export as described in
the :ref:`exporting notebooks <user_export>` section. A ``.html`` file that
you will be prompted to download.

If you don't know how to navigate and interact with a Reveal.js presentation,
visit the project's `website <https://github.com/hakimel/reveal.js>`__.