Exporting a notebook as html_toc with a sidebar table of contents

Is there a way to export an html with a table of contents (html_toc) using jupyter lab desktop where the table of contents is fixed on the side of the document, like in previous jupyter notebook instances (and like it is within jupyter lab desktop now as a core feature)?

Many thanks.

a beautiful nbconvert html template is: pretty-jupyter (check the demo)

i don’t know how it integrates with jupyterlab-desktop though, i only use normal jupyterlab and run nbconvert from the terminal like so: jupyter nbconvert --to html --template pj mynotebook.ipynb