Skip to content

A small function for converting HTML to Markdown.

License

Notifications You must be signed in to change notification settings

notable/html2markdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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