TOC in Section - Markers

Description : Creates or updates a table of contents for current section. It is possible to select if sub-pages should be included or not. The main difference between this script and "TOC in Current Section" is that it inserts markers ( ├─{, └─{ or ┬─{ ) to the left of each content item.


TOC in Section - Markers

You need Onetastic Add-in
for OneNote to run this macro.
Download Onetastic
Author(s) : PKOLD
Category : TOC
Last Updated : November 29, 2018
Requirements : OneNote 2010 or above
Screenshot :

TOC in Section - Markers

Page Mode: Choose if TOC should be created on new page, which will be added in top of section, or if an existing TOC should be updated. In case of the latter, the outline on the existing TOC must be selected (set curser inside). Page Depth: Set lowest page-level to include in TOC, i.e. when selecting "Level 1" no sub-pages are included whereas when selecting "Level 3" both subpages and sub-subpages are included. Link Mode: In "Resilient" mode links to pages and sections will still work even if they are renamed, however this mode is slow. In "Fast" mode links will no longer work if pages or sections are renamed, but it goes much faster.
Page Mode
Page Depth
Link Mode
Changelog :

November 29, 2018 (72820C) - PKOLD
Font name updated for markers to make them look nicer

March 14, 2018 (ABBB66) - PKOLD
Initial Version