/html2markdown

A small function for converting HTML to Markdown.

Primary LanguageTypeScriptMIT LicenseMIT

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