Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[toc2] Add a 'download as HTML with toc' for Jupyter >= 5.1 #1182

Merged
merged 1 commit into from
Dec 22, 2017

Conversation

jfbercher
Copy link
Member

As mentioned in #1176, added a menu item in File/Download as to download the converted HTML file with toc2 embedded in it. This works for Jupyter version greater than 5.1 and any kernel.

For earlier versions, we still have/keep the "save as with toc" which is system call to jupyter nbconvert --template toc2 CurrentNotebookFile.ipynb, but this approach needs a python kernel.

@jcb91
Copy link
Member

jcb91 commented Dec 22, 2017

looks good to me!

@jcb91 jcb91 merged commit 2a4bdf6 into ipython-contrib:master Dec 22, 2017
@jfbercher jfbercher deleted the toc2downmenu branch December 22, 2017 17:34
@qingpeng
Copy link

qingpeng commented May 2, 2018

since I am running jupyter on server, honestly I prefer the "save as with toc" option, since that will save the html to the directory on the server rather than download the file to my local laptop...

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants