It can't tell automatically, but at render time the Svelte component is viewing a list of documents nodes and rendering them in order, under each section. I told it to capitalize the first letter of the first node in each section.

Reply to this note

Please Login to reply.

Discussion

It works because Asciidoctor gives us some powerful documents parsing tools.

💪