Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 377 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 377 Bytes

js-markdownify

This is a js rewrite of https://github.com/matthewwithanm/python-markdownify

// ----- // Usage Example: // // Suppose you have a DOM node (for example, document.body or any element): // // const md = markdownify(document.body, { wrap: true, wrap_width: 80 }); // console.log(md); // // This code converts the HTML DOM tree into Markdown text. // -----