We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given a valid _toc.yml of:
_toc.yml
format: jb-book root: index parts: - caption: Tutorials chapters: - file: tutorial1 - file: tutorial2 sections: - file: tutorial2.1 - file: tutorial2.2 - file: tutorial3
mystmd produces a TOC data structure that reflects grouping and nesting via the level field:
mystmd
level
"pages": [ { "title": "Tutorials", "level": 1 }, { "slug": "tutorial1", "title": "TUTORIAL 1", ..., "level": 2 }, { "slug": "tutorial2", "title": "TUTORIAL 2", ..., "level": 2 }, { "slug": "tutorial2-1", "title": "TUTORIAL 2.1", ..., "level": 3 }, { "slug": "tutorial2-2", "title": "TUTORIAL 2.2", ..., "level": 3 }, { "slug": "tutorial3", "title": "TUTORIAL 3", ..., "level": 2 } ]
But the myst theme TOC does not show this nesting.
level > 2
No response
The text was updated successfully, but these errors were encountered:
An initial take was put into #254. I think there are still some things to do, but that should fix this specific issue.
Sorry, something went wrong.
No branches or pull requests
Context
Given a valid
_toc.yml
of:mystmd
produces a TOC data structure that reflects grouping and nesting via thelevel
field:But the myst theme TOC does not show this nesting.
Proposal
level
reported in the data structurelevel > 2
Tasks and updates
No response
The text was updated successfully, but these errors were encountered: