auspice
Version:
Web app for visualizing pathogen evolution
60 lines (41 loc) • 1.8 kB
Markdown
# markdown-link [](http://badge.fury.io/js/markdown-link)
> Micro util for generating a single markdown link.
## Install with [npm](npmjs.org)
```bash
npm i markdown-link --save
```
## Usage
```js
var mdlink = require('markdown-link');
```
## Usage
### [.link](./index.js#L18)
Create a markdown-formatted link from the given values.
* `anchor` **{String}**
* `href` **{String}**
* `title` **{String}**
```js
mdlink('micromatch', 'https://github.com/jonschlinkert/micromatch', 'hover title');
//=> [micromatch](https://github.com/jonschlinkert/micromatch "hover title")
```
## Related projects
* [remarkable](https://github.com/jonschlinkert/remarkable): Markdown parser, done right. 100% Commonmark support, extensions, syntax plugins, high speed - all in one.
* [markdown-toc](https://github.com/jonschlinkert/markdown-toc): Generate a markdown TOC (table of contents) with Remarkable.
* [markdown-utils](https://github.com/jonschlinkert/markdown-utils): Micro-utils for creating markdown snippets.
* [to-gfm-code-block](https://github.com/jonschlinkert/to-gfm-code-block): Generate a github-flavored-markdown fenced code block snippet.
## Running tests
Install dev dependencies.
```bash
npm i -d && npm test
```
## Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/markdown-link/issues)
## Author
**Jon Schlinkert**
+ [github/jonschlinkert](https://github.com/jonschlinkert)
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
## License
Copyright (c) 2015 Jon Schlinkert
Released under the MIT license
***
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on March 20, 2015._