Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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)