Comment on Markdown-in-js: inline Markdown for React and JSXparentComments−Goosey9yThere already exist multiple Markdown components, for example https://github.com/rexxars/react-markdownThe 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−svachalek9yIf it was passed as "children" rather than a named prop, it should look pretty similar. It just wouldn't be pre-compiled.
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.