If the second // = Chapter is no longer commented out, the header on page 2 disappears. This will remain an issue until typst allows us to check the structure of the document more thoroughly to really ensure the first content of a page is the primary element, any of its ancestors or spacing/layout content.
Given a document like so:
The following two pages are rendered:
If the second
// = Chapter
is no longer commented out, the header on page 2 disappears. This will remain an issue until typst allows us to check the structure of the document more thoroughly to really ensure the first content of a page is the primary element, any of its ancestors or spacing/layout content.