Read the first top-level H1 from a markdown body. Returns the trimmed heading text without the leading # token, or null if none found.
#
null
Supports both markdown # heading and HTML <h1>content</h1> forms (some executive briefs use <h1 align="center"> for formatting).
# heading
<h1>content</h1>
<h1 align="center">
Read the first top-level H1 from a markdown body. Returns the trimmed heading text without the leading
#token, ornullif none found.Supports both markdown
# headingand HTML<h1>content</h1>forms (some executive briefs use<h1 align="center">for formatting).