I am using Jupyter notebooks to create interactive web reports for my job. Reports are fairly extense, so I would like to setup a TOC for easier navigation. I am aware of the extension that exists for this matter, but I would also like to have collapsible header synchronized with my TOC. All works great when running the notebook locally, but when exporting to HTML I have to choose between collapsible headings or TOC.
Note: To export the notebooks I am using the jupyter nbconvert --to html_ch Untitled.ipynb for collapsible headings and jupyter nbconvert --to html_toc Untitled.ipynb for TOC.
Does anybody know if it is possible to "combine" both exporters and if it is, how?