Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Update ToC when notebook is saved #49

Merged
merged 1 commit into from
Aug 11, 2015
Merged

Update ToC when notebook is saved #49

merged 1 commit into from
Aug 11, 2015

Conversation

dekstop
Copy link
Contributor

@dekstop dekstop commented Aug 11, 2015

This automatically updates the table of contents every time the notebook is saved. It's just a single-line change that registers an event listener when the extension is loaded.

This also partially addresses #42 -- I would have liked to update the ToC when Markdown cells are executed, but only have a limited understanding of IPython events.

Event identifier taken from here:
https://github.com/ipython/ipython/wiki/Dev:-Javascript-Events

minrk added a commit that referenced this pull request Aug 11, 2015
Update ToC when notebook is saved
@minrk minrk merged commit 39b4b04 into minrk:master Aug 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants