Skip to content

bug: headings nested before the first ## section are silently dropped from the rendered CV #15

Description

@rubicon

Summary

Any ### / #### heading that appears before the first ## section in cv.md is silently dropped from the rendered output. Content that a user places above the first top-level section (e.g. a sub-headed summary block) vanishes with no warning.

Root cause

The renderer only emits ###/#### content once it is inside a ## section (cv-markdown.mjs:125,144 / cv-docx.mjs:106,125). Nesting encountered before the first ## has no section to attach to and is skipped.

Failure scenario

A CV whose top matter uses ### sub-headings before the first ## loses that matter in the exported resume, silently.

Proposed fix

Attach pre-section nesting to an implicit leading section (or emit it at document top), or warn loudly that content before the first ## will not render. Do not drop silently.

Priority: P3. Found during the cross-repo audit for the "failure indistinguishable from empty result" class (anchor: silent content loss).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions