npm.io
1.5.1 • Published 5 years ago

easy-crooked

Licence
MIT
Version
1.5.1
Deps
1
Size
20 kB
Vulns
0
Weekly
0

easy-crooked (under development) | demo

easy-crooked is a JavaScript library for converting HTML into Markdown.

npm minizipped size Tests codecov GitHub license


Installation

Install using the package manager for your desired environment(s):

npm install easy-crooked
# OR:
yarn add easy-crooked

Usage

import parseHtmlToMarkdown from "easy-crooked";

const htmlString = `<h1>Hello Easy Crooked!</h1>`;
const markdown = parseHtmlToMarkdown(htmlString);

console.log(markdown); // # Hello Easy Crooked!

TODO

Basic Syntax
  • Blockquotes (beautify nested)
Extended Syntax
  • Tables
  • Nested elements

Keywords