1.1.0 • Published 5 years ago

markdown2text v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

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"
1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago