nbless.main package¶
Submodules¶
nbless.main.nbconv module¶
-
nbless.main.nbconv.
nbconv
(nb_name: str, exporter: str = 'python') → Tuple[str, str][source]¶ Convert a notebook into various formats using different exporters
Parameters: - input_name – The name of the input notebook
- exporter – The exporter type determines the output file type
Note: The exporter type must be ‘asciidoc’, ‘pdf’, ‘html’, ‘latex’, ‘markdown’, ‘python’, ‘rst’, ‘script’, or ‘slides’. pdf requires latex, ‘notebook’ does nothing, slides need to served (not self-contained)