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.
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