Parses the provided string and returns a list of headings.
A Markdown parser instance used to render the content to HTML.
List of headings
Renders Markdown to HTML and extracts <h1>–<h6> elements. Returns an empty list if the parser is null.
<h1>
<h6>
null
Parses the provided string and returns a list of headings.