We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9094b4f commit e627dfcCopy full SHA for e627dfc
src/jupyter_contrib_nbextensions/nbextensions/toc2/toc2.js
@@ -550,6 +550,10 @@ var table_of_contents = function (cfg,st) {
550
if (h.id=="Table-of-Contents"){ return; }
551
//If h had already a number, remove it
552
$(h).find(".toc-item-num").remove();
553
+ // skip header if tag #skip is present
554
+ if (h.id.search('#skip') !== -1 ) {
555
+ $(h).text($(h).text().replace("#skip", ""));
556
+ return; }
557
var num_str= incr_lbl(lbl_ary,level-1).join('.');// numbered heading labels
558
var num_lbl= $("<span/>").addClass("toc-item-num")
559
.text(num_str).append(' ').append(' ');
0 commit comments