Exporting Notebooks
JupyterLab Docs · نسخهٔ c233d4b14d54 · BSD-3-Clause
% 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:
:align: center
:class: jp-screenshotWhen exporting to HTML, a dialog will prompt you to choose whether to sanitize the HTML output, i.e. escape tags. This sends a sanitize_html param to nbconvert.
Note: The exporting options depend on your nbconvert configuration. For more information visit the official nbconvert documentation.
(user-export-revealjs)=
Reveal.js Slides
In order to export your notebooks as Reveal.js slides, follow these steps:
- Open a notebook by double clicking it in the
{ref}file browser <working-with-files>.
- Select Property inspector in the {ref}
right sidebar <right-sidebar>. - Select the slide type (Slide, Subslide, Fragment, Skip, Notes).
:align: center
:class: jp-screenshot- Activate another cell.
- 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.