Replies: 3 comments 7 replies
-
See also #2840 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There was a bit of chatter about TOC's this week, and I couldn't find a general purpose PR or Issue (or at least one that wasn't imminently closing or publishing) that could collect the ideas.
I think there are a couple of general complaints related to the current TOC process:
Some of this could be done with CSS inputs in the TOC Widget menu. Things like column counts, leader lines....
One thought: A ToC Panel that is a tab in the Editors. It dynamically updates with the document, can be used for hyperlink navigation, updates page numbers as they change, has CSS inputs to toggle leader lines, set column counts and fonts, and has additional parameters that change header depth and how many pages to allow for the TOC. From here the author can print the ToC markdown to the Text Editor and the required CSS to the Style Editor, or alternatively, have the required CSS for the various choices baked into the build folder and then snippet would just print the ToC Markdown with some relevant classnames to match the desired properties.
The same ToC panel could be made available in the Share page as a sidebar, for easier and more reliable navigation than scrolling to the top for the ToC (which might not even be there).
Edit:
Issues related at this time:
#2920
#2905
#2563
#2885
#2686
#2294
Beta Was this translation helpful? Give feedback.
All reactions