Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danestves/markdown-to-text
Parse the markdown and returns string
https://github.com/danestves/markdown-to-text
Last synced: 3 months ago
JSON representation
Parse the markdown and returns string
- Host: GitHub
- URL: https://github.com/danestves/markdown-to-text
- Owner: danestves
- License: mit
- Created: 2020-12-13T20:36:02.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-09T04:35:49.000Z (about 1 year ago)
- Last Synced: 2024-10-29T20:35:29.503Z (3 months ago)
- Language: TypeScript
- Homepage:
- Size: 54.7 KB
- Stars: 24
- Watchers: 2
- Forks: 7
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
Welcome to markdown-to-text 👋
> Parse the markdown and returns a string
## Install
```sh
# npm
npm install markdown-to-text# yarn
yarn add markdown-to-text
```## Usage
```js
// 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**
- Website: https://danestves.com/
- Twitter: [@danestves](https://twitter.com/danestves)
- Github: [@danestves](https://github.com/danestves)
- LinkedIn: [@danestves](https://linkedin.com/in/danestves)## 🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/danestves/markdown-to-text/issues). You can also take a look at the [contributing guide](https://github.com/danestves/markdown-to-text/blob/main/CONTRIBUTING.md).## Show your support
Give a ⭐️ if this project helped you!
## 📝 License
Copyright © 2020 [Daniel Esteves](https://github.com/danestves).
This project is [MIT](https://github.com/danestves/markdown-to-text/blob/main/LICENSE) licensed.---
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_