1.0.4 • Published 8 years ago
parse-markdown-links v1.0.4
parse-markdown-links
Get all links from a markdown string.
Piggy backs on top of remarkable to get a list of parsed tokens corresponding to links.
Install
$ npm i parse-markdown-links -SUsage
const parse = require('parse-markdown-links')
console.log(parse('[a link](https://woohoo.com)\n'))
// [ 'https://woohoo.com' , 'image.png' ]API
parse(text)
Takes a markdown string and returns an array of links.
License
MIT