markdown2text
CLI Tool + library to convert markdown to text
Last updated a year ago by gpittarelli .
MIT · Original npm · Tarball · package.json
$ cnpm install markdown2text 
SYNC missed versions from official npm registry.

markdown2text

Trivial utility project to convert markdown to plaintext using markdown-it.

Slapped together in the middle of another project, don't expect much.

Usage

CLI:

npm i markdown2text
echo "# yo\ntext and a [link](https://gjp.cc)" | markdown2text
# Outputs:
#   yo
#   text and a link

Library:

const markdownToText = require('markdown2text');
console.log(markdownToText('a [link](https://gjp.cc)'));
// Outputs: "a link"

Current Tags

  • 1.1.0                                ...           latest (a year ago)

3 Versions

  • 1.1.0                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year 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 (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |