npm.io
0.1.2 • Published 3 years ago

@excalidraw/markdown-to-text

Licence
MIT
Version
0.1.2
Deps
0
Size
26 kB
Vulns
0
Weekly
0
Stars
28

Welcome to markdown-to-text

Version npm CircleCI License: MIT Twitter: danestves

Parse the markdown and returns a string

Install

# npm
npm install markdown-to-text

# yarn
yarn add markdown-to-text

Usage

// ES5
const removeMarkdown = require("markdown-to-text");
// Or in ES6
import removeMarkdown from "markdown-to-text";

const markdown =
  "*Javascript* [developers](https://engineering.condenast.io/) are the _best_.";
removeMarkdown(markdown);

// It will render to
// Javascript developers are the best.

Author

Daniel Esteves

Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ️ if this project helped you!

License

Copyright 2020 Daniel Esteves.
This project is MIT licensed.


This README was generated with by readme-md-generator

Keywords