wiki icon indicating copy to clipboard operation
wiki copied to clipboard

Rendering Core: customise Heading Level depth for Table of Contents

Open sean-freeman opened this issue 6 years ago • 5 comments

Describe the bug Heading Levels in Markdown are up to level 6, which the Pilcrow currently supports up to (the Pilcrow maybe should change to https://materialdesignicons.com/icon/link for consistency with GitHub?).

However the auto-generated page Table of Contents on the left-side menu is static to Heading Level 2. The Chevron Right also confuses the end user, as it suggests the TOC could be expanded to see the lower Heading Levels

sean-freeman avatar Nov 14 '19 13:11 sean-freeman

I newly installed wiki.js and this was actually first thing I noticed I want to change. People differ in how they construct their synopsis for article. We should allow to change "default level" as well as allow to customize ToC depth per article.

cadavre avatar Nov 22 '19 12:11 cadavre

I created a PR for it (#1931) and waiting for it to be merged

regevbr avatar Jun 22 '20 08:06 regevbr

Hopefully it is not an issue to ask for an update @NGPixel as it is assigned to you. It has had a PR for a year, simply looking for the thought process on it.

Thanks.

austinwbest avatar Jun 16 '21 21:06 austinwbest

Waiting for the PR to get approved

gurureddy239 avatar Apr 04 '23 12:04 gurureddy239

This is the only single issue, that keeps me looking elsewhere and contemplating moving before my internal wiki content gets too large

MacBadger avatar Nov 25 '23 14:11 MacBadger