/marked-jsx

marked.js adapted to output JSX (for preact)

Primary LanguageJavaScript

marked-jsx

Based on the work of Jono Kemball with contributions from the rest of the Ludum Dare team, this is a port of Marked by Christopher Jeffrey that outputs JSX instead of HTML.

At the time of this fork, the original project was on a several year hiatus. Maintaining backwards compatibility wasn't a goal. We have fixed, changed, added, and removed things.

At the time of this writing, this implementation assumes that you use Preact (since that's what we use), but it could be adapted to be more general.