Add Table of Contents (TOC) for SharePoint Wiki pages.
Wikipedia had it implemented years ago. I suggest you to add a dynamically created Table of Contents (TOC) for SharePoint Wiki pages, according to the title-styles used in the documents.
We are offering a toc webpart for modern pages (Wiki) you can
check it out: https://hb-munich.com/office-365-sharepoint/office-365-sharepoint-produkte/table-of-contents/
Bruce Hankins commented
While Microsoft is being agile we can't be agile. We keep waiting and waiting for capabilities we're accustomed to having. Using PowerShell and code snippets to fill in for lack of capability doesn't cut it. We're always stuck between a rock and a hard place not able to move forward.
Laurent Sittler commented
We can not expect new feature for the classic experience today... The modern experience is a priority for Microsoft and the community now.
If you need a TOC into your wiki pages, you can follow this tutorial: https://blog.lsonline.fr/2018/12/23/create-a-dynamic-table-of-content-for-your-sharepoint-wiki-pages
If you need a TOC for all pages (without add it manually for each page) you can add the code directly into a custom wiki page layouts defined by default.
Hoping that will help you
Any updates about this table of content in SharePoint online (modern experience)?
code and demo here: https://codepen.io/quinlo/pen/mzKPvm
When TOC will be added to sharepoint modern pages?
Near the end 2018 and the sharepoint page looks like the year 2000. It is a shame that MICROSOFT only "thinks about it". Then we will go with MediaWiki again.
It's 2017. Word has had the ability to create TOC from headings for nearly 20 years, and they're now storing the doc as XML. Go borrow some code to pick out the <H1><H2><H3> and build a TOC. This should be a component that is dropped into the page and updates on page save.
Sam Churchill commented
This is needed on "modern" site pages too - could it go at the bottom of the left nav?
Sam Churchill commented
Needed on "modern" site pages as well.
Marcello Romani commented
There is a "table of contents" web part but that shows the entire sites contents, not just the page.
It is frankly disappointing that such a basic feature would not be available out of the box.
Fanny V commented
Yes I think too this function is very necessary and should be available out of the box.
I think this function is very necessary and should be available out of the box.
A lot of customers asked for a TOC to get a little bit more structure into the wikis.
We included a thrid party solution of BlueBridge: