quote-markdown
Safe addition of markdown quotes around a string (bold, emphasis, code)
Last updated 6 years ago by bahmutov .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install quote-markdown 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.1.1                                ...           latest (6 years ago)

2 Versions

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

Copyright 2014 - 2016 © taobao.org |