shouldAutoPageBreak
Checks whether the heading node should force a page break, depending on:
whether the heading can break a page
if ContextOptions.autoPageBreakHeadingMaxDepth is set, whether the heading's depth is <= the maximum depth.
if unset, checks against com.quarkdown.core.document.DocumentType.preferredAutoPageBreakHeadingMaxDepth.