mirror of
https://github.com/wassname/jupyter_contrib_nbextensions.git
synced 2026-09-12 12:31:30 +08:00
Merge pull request #1035 from jcb91/tch
[toc2] alter ToC cell source to work better with collapsible_headings
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user