npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

markdown-image

0.1.0

@jonschlinkert

npmHomeRepoSnykSocket
Downloads:0
$ npm install markdown-image
DailyWeeklyMonthlyYearly

markdown-image NPM version

Micro util for generating a single markdown link.

Install with npm

npm i markdown-image --save

Usage

var mdimage = require('markdown-image');

Usage

mdimage

mdimage('foo', 'https://github.com/bar/foo', 'baz'); //=> [foo](https://github.com/bar/foo "baz")

* `anchor` **{String}**
* `href` **{String}**
* `title` **{String}**

mdimage('foo', 'https://github.com/bar/foo');
//=> [foo](https://github.com/bar/foo)

Related projects

  • markdown-utils: Micro-utils for creating markdown snippets.
  • to-gfm-code-block: Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.
  • 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.

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

  • github/jonschlinkert
  • twitter/jonschlinkert

License

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


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