Skip to content

Commit 32fbec4

Browse files
authored
Merge pull request #1399 from wcable/patch-1
Add exporter name for toc2 nbconvert
2 parents 882fbb0 + 8015ad0 commit 32fbec4

File tree

1 file changed

+3
-0
lines changed
  • src/jupyter_contrib_nbextensions/nbconvert_support

1 file changed

+3
-0
lines changed

src/jupyter_contrib_nbextensions/nbconvert_support/toc2.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ class TocExporter(HTMLExporter):
3232
3333
jupyter nbconvert --to html_toc FILE.ipynb
3434
"""
35+
36+
export_from_notebook = "HTML + ToC"
37+
3538

3639
def _file_extension_default(self):
3740
return '.html'

0 commit comments

Comments
 (0)