Nbconvert6, toc and section numbers to html, webpdf

Hi !

With the latest nbconvert6.x versions, how to recover template toc2 (or similar) which provides toc, section numbers while exporting to html or (the new) webpdf?

Thanks,
PhL.