markedjs/marked ? reverse-engineered prompt

Reverse engineered prompt

Build me a fast markdown parser and compiler called Marked.

I want it to take markdown text and turn it into HTML, and work nicely in Node, in the browser, and from a simple command line tool. It should support the usual markdown features people expect, feel lightweight, and be built for speed. Please include a way to use it with a basic parse call in code, plus a CLI that can read from standard input and write HTML to a file. Make sure the output is easy to extend with options and custom behavior later.

Also, keep it honest that the HTML output is not sanitized, so users know they should run it through a sanitizer before putting it on a page. If you need to look up current docs online to match the latest usage patterns, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab