Skip to content

Comment on Markdown-in-js: inline Markdown for React and JSXparent

Comments

There already exist multiple Markdown components, for example https://github.com/rexxars/react-markdown

The interesting thing here is that it is inline.

edit: No judgement if being inline is a pro or a con. Personally I prefer to keep it in a specific component, but I see the appeal fo this

If it was passed as "children" rather than a named prop, it should look pretty similar. It just wouldn't be pre-compiled.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.