This library intended is extract links from markdown.
In current version returns an array with url and text.
Example:
$node
> let extractLib = require("gf-extract-links-lib")
> extractLib.getLinksFromMd( "Oi você quer entrar no site [google](www.google.com) ?"); //[{href: "www.google.com", text: "google"}]
- Add devDependencies;
- Functions refactored;
- Functionalities: extract links and text from markdown;
- Return an array with objects having url and text;
- You must have node + npm installed.
- Installation Guide, visit the official site.
- Proceed installation
$npm install gf-extract-links-lib
version 2.0.0
- README in pt_br;
version 1.0.0 (released)
- Functionalities: extract links and text from markdown.