Share and export notebook files
You can export notebook files to various formats for local viewing or share them directly with other users.
Background
DSW supports exporting notebook files to the following formats:
AsciiDoc: .asciidoc file
HTML: .html file
LaTeX: .tex file
Markdown: .md file
PDF: .pdf file
reStructuredText: .rst file
executable script: .py file
Reveal.js slides: .html file
Procedure
Go to the development environment of a DSW instance.
Log on to the PAI console.
In the left-side navigation pane, click Workspaces. On the Workspaces page, click the name of the workspace that you want to manage.
In the upper-left corner of the page, select the region where you want to use PAI.
In the left-side navigation pane, choose .
Optional: On the Data Science Workshop (DSW) page, enter the name of a DSW instance or a keyword in the search box to search for the DSW instance.
Click Open in the Actions column of the instance.
Share or export a notebook file.
Export a notebook file
Open the notebook file that you want to export.
In the top menu bar, choose File > Save and Export Notebook As..., and then select the desired format. Available export formats include AsciiDoc, HTML, LaTeX, Markdown, PDF, Qtpdf, Qtpng, reStructuredText, executable script, Reveal.js slides, and Webpdf.
NoteThe available export formats depend on your nbconvert configuration. For more information, see the official nbconvert documentation.
Share a notebook file
On the Notebook tab, right-click the notebook file that you want to share and click Copy Shareable Link.
The shared link is a static snapshot of the
.ipynbfile. Updates made to the file after sharing will not appear on the shared page. The link is valid for 24 hours. After it expires, you must generate a new one.