Package Exports
- markdown-title
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (markdown-title) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
markdown-title 
Parses title from Markdown-formatted text
Install
$ npm install markdown-titleUsage
const markdownTitle = require('markdown-title')
let markdown = `
# Title
`
let title = markdownTitle(markdown) //=> TitleThe first H1-level title that is found in your Markdown document will be returned, regardless of its position. Supports pound-style headers, not underlined headers (see original Markdown docs). The reason is that I haven’t ever found an underlined header in the wild, and it’s much harder to parse:
This works:
# Title
This, too:
# I can title? #
This doesn’t:
Title
=====