I'm submitting this Pull Request to propose a non-intrusive solution aimed at static website generators like Docusaurus, which typically reserve H1 headings (#) for page titles, making them unusable for other purposes within the content. This is quite annoying as Notion only has 3 types.
The changes I've implemented provide a workaround that allows any stack built on top of notion-to-md the possibility to increment heading levels by 1 if needed before calling notion-to-md, without the necessity for extensive modifications to the codebase.
Hi there,
I'm submitting this Pull Request to propose a non-intrusive solution aimed at static website generators like Docusaurus, which typically reserve H1 headings (#) for page titles, making them unusable for other purposes within the content. This is quite annoying as Notion only has 3 types.
The changes I've implemented provide a workaround that allows any stack built on top of
notion-to-md
the possibility to increment heading levels by 1 if needed before calling notion-to-md, without the necessity for extensive modifications to the codebase.@souvikinator