The markdown content to summarise
The trimmed leading paragraph of markdown, folded and clipped if wrapped across several lines;
undefined if markdown is blank or its leading paragraph doesn't open with a letter
details for the companion extraction, returning the content kept for readers asking for more
Extracts the summary of markdown content.
Returns the leading paragraph as the gist of the content, for a listing, a tooltip or a card to show at a glance. The paragraphs following it are left to details, for readers asking for more. Content is read as follows:
\r\n,\r,\n) are normalised to\n---fences at the start of the content is skipped; an unclosed fence is content