markdown-link
Micro util for generating a single markdown link.
Last updated 10 years ago by jonschlinkert .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install markdown-link 
SYNC missed versions from official npm registry.

markdown-link NPM version

Micro util for generating a single markdown link.

Install with npm

npm i markdown-link --save

Usage

var mdlink = require('markdown-link');

Usage

.link

Create a markdown-formatted link from the given values.

  • anchor {String}
  • href {String}
  • title {String}
mdlink('micromatch', 'https://github.com/jonschlinkert/micromatch', 'hover title');
//=> [micromatch](https://github.com/jonschlinkert/micromatch "hover title")

Related projects

  • remarkable: Markdown parser, done right. 100% Commonmark support, extensions, syntax plugins, high speed - all in one.
  • markdown-toc: Generate a markdown TOC (table of contents) with Remarkable.
  • markdown-utils: Micro-utils for creating markdown snippets.
  • to-gfm-code-block: Generate a github-flavored-markdown fenced code block snippet.

Running tests

Install dev dependencies.

npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Schlinkert

License

Copyright (c) 2015 Jon Schlinkert
Released under the MIT license


This file was generated by verb-cli on March 20, 2015.

Current Tags

  • 0.1.1                                ...           latest (10 years ago)

2 Versions

  • 0.1.1                                ...           10 years ago
  • 0.1.0                                ...           10 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE