Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/notable/html2markdown
A small function for converting HTML to Markdown.
https://github.com/notable/html2markdown
convert html markdown
Last synced: 11 days ago
JSON representation
A small function for converting HTML to Markdown.
- Host: GitHub
- URL: https://github.com/notable/html2markdown
- Owner: notable
- License: mit
- Created: 2022-03-30T21:56:15.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-24T16:28:51.000Z (about 1 year ago)
- Last Synced: 2024-09-23T22:15:54.992Z (about 2 months ago)
- Topics: convert, html, markdown
- Language: TypeScript
- Homepage:
- Size: 35.2 KB
- Stars: 14
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# HTML2Markdown
A small function for converting HTML to Markdown.
## Install
```sh
npm install --save @notable/html2markdown
```## Usage
```ts
import html2markdown from '@notable/html2markdown';html2markdown ( 'Hello, World!' ); // => '**Hello, _World_!**'
```## License
- Library: MIT © Fabio Spampinato
- Turndown: MIT © [Dom Christie](https://github.com/mixmark-io/turndown/blob/master/LICENSE)