Summarize markdown into a simple text string
Summarize markdown into a simple string, rather than into HTML.
Why would anybody want to do this? There are times when HTML is not accepted, and a simple string is far more useful. The examples that motivated this library are meta descriptions and the metadata in the Open Graph and Twitter Cards protocols.
Contributing tests, documentation, or code is all appreciated.
npm install summarize-markdown
var summarize = ;;//=> 'Test paragraph with a link.';//=> 'Headline: Test paragraph.'