Skip to content

Commit

Permalink
Merge pull request #1109 from jcb91/ch
Browse files Browse the repository at this point in the history
[collapsible_headings] update *all* headings on markdown rendering
  • Loading branch information
jcb91 authored Oct 4, 2017
2 parents 33772a5 + 9f9a68c commit e79c955
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,11 @@

function callback_markdown_rendered (evt, data) {
update_heading_cell_status(data.cell);
update_collapsed_headings(params.show_section_brackets ? undefined : data.cell);
// we update all headings to avoid pasted headings ending up hidden
// by other pre-existing collapsed headings - see
// https://github.com/ipython-contrib/jupyter_contrib_nbextensions/issues/1082
// for details
update_collapsed_headings();
}

return new Promise (function (resolve, reject) {
Expand Down

0 comments on commit e79c955

Please # to comment.