Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 425 Bytes

readme.md

File metadata and controls

22 lines (14 loc) · 425 Bytes

HTML2Markdown

A small function for converting HTML to Markdown.

Install

npm install --save @notable/html2markdown

Usage

import html2markdown from '@notable/html2markdown';

html2markdown ( '<b>Hello, <i>World</i>!</b>' ); // => '**Hello, _World_!**'

License

  • Library: MIT © Fabio Spampinato
  • Turndown: MIT © Dom Christie