-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
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
H1 Headings are not included in the automatic Table of Contents on Bloom Docs #104
Comments
See https://docusaurus.io/docs/next/markdown-features/toc#table-of-contents-heading-level for how this can be configured in docusaurus at the page level or for all pages. |
I have made made a mistake, but I tried to implement this on my local version and got an error:
My mod is at the bottom of the themeConfig: section of docusaurus.config.js:
|
Yup, two is the minimum: https://docusaurus.io/docs/api/themes/configuration |
Hmmm... that's a bit frustrating, because Notion only has H1, H2, and H3...
So for us, the TOC is limited.
Unless docu-notion was set to automatically lower the H-count for pages
with H1 by 1... H1 becomes H2, etc. Then we could fit within docusaurus'
confines (using H2 - H4 instead of H1 - H3).
I realize that would mean more programming. So, what's the priority on
this? Probably not high enough at the moment.
…On Thu, May 23, 2024 at 1:22 PM John Hatton ***@***.***> wrote:
Yup, two is the minimum:
https://docusaurus.io/docs/api/themes/configuration
—
Reply to this email directly, view it on GitHub
<#104 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZP5EWMA7MRMAMR75C7V24LZDZFZBAVCNFSM6AAAAABIESZMC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRXHE2TMNJTHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Describe the bug
When a block is marked as Heading 1, it is not included in the TOC on the right-hand side of the page.
URL of a source Notion page that, when docu-notion accesses or converts it, shows the problem:
Small example: https://www.notion.so/hattonjohn/Is-Bloom-right-for-my-project-58be5d048c7f4fd0aa827dda09c4d345?pvs=4
Large example: https://www.notion.so/hattonjohn/Older-Release-Notes-e24605986bcc4957afb33d02b4cb56e3?pvs=4
Expected behavior
H1s should be included in the TOC, or never used in Docu-Notion (not recommended, it would be difficult to remember/implement consistently).
Screenshots
If applicable, add screenshots to help explain your problem.
Below:
The text was updated successfully, but these errors were encountered: