quote-markdown

0.1.1 • Public • Published

quote-markdown

Safe addition of markdown quotes around a string (bold, emphasis, code)

NPM info

npm install quote --save

Use

var quote = require('quote-markdown');
quote.string('foo'); // "foo"
quote.code('foo'); // `foo`
quote.code(quote.code('foo')); // `foo`
quote.em('foo'); // *foo*
quote.bold('foo'); // **foo**

Built on top of quote

Author: Gleb Bahmutov © 2014 @bahmutov glebbahmutov.com

License: MIT - do anything with the code, but don't blame me if it does not work.

Spread the word: tweet, star on github, etc.

Support: if you find any problems with this module, email / tweet / open issue on Github

Package Sidebar

Install

npm i quote-markdown

Weekly Downloads

0

Version

0.1.1

License

MIT

Last publish

Collaborators

  • bahmutov