Return the first Markdown H1 (# …) in the supplied text, stripped of the leading # and trailing anchor syntax. Returns an empty string when no H1 is present.
# …
#
Markdown source
Plain-text H1, or empty string when none found
Return the first Markdown H1 (
# …) in the supplied text, stripped of the leading#and trailing anchor syntax. Returns an empty string when no H1 is present.