Feature Request: Custom TOC Location #11927
bakaburg1
started this conversation in
Feature Requests
Replies: 1 comment
-
I think this would need to be handled in Pandoc; there is a long-standing issue at jgm/pandoc#1612. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Current Behavior: The table of contents (TOC) is currently restricted to either being placed automatically at the top of the document or in a sidebar. If a user wants to put the TOC somewhere else, he/she needs to edit the underlying template.
Proposed Feature: Allow manual placement of the TOC anywhere in the document, similar to how references can be placed using the
{#refs}
div.Implementation Suggestion:
This would allow users to:
Use Cases:
Technical Details:
The feature should respect all existing TOC configuration options from the YAML header while only changing the location where the TOC is rendered in the final document.
Further development: Sub-section TOCs
Beta Was this translation helpful? Give feedback.
All reactions