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] alter ToC cell source to work better with collapsible_headings #1035

Merged
merged 1 commit into from
Aug 19, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/jupyter_contrib_nbextensions/nbextensions/toc2/toc2.js
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ var table_of_contents = function (cfg,st) {
}
//process_cell_toc();

var cell_toc_text = "# Table of Contents\n <p>";
var cell_toc_text = " # Table of Contents\n";
var depth = 1; //var depth = ol_depth(ol);
var li= ul;//yes, initialize li with ul!
var all_headers= $("#notebook").find(":header");
Expand Down