🚀 Launch Week Day 2:Introducing Custom Tabs for Org Alerts.Learn More →
Socket
Book a DemoInstallSign in
Socket

markdown-image

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdown-image

Micro util for generating a single markdown link.

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

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)
  • 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

License

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

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

FAQs

Package last updated on 21 Mar 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts