Add markdown support
Closed this issue · 4 comments
pmuens commented
This is a good implementation: https://github.com/jimpick/lambda-comments/blob/master/packages/frontend/src/ui/comment.js
xndrdev commented
What about: https://github.com/rexxars/react-markdown ? @pmuens
pmuens commented
I would like to go with those MarkdownIt
and highlight.js
. They play nicely together:
Here you can see their usage:
https://github.com/jimpick/lambda-comments/blob/master/packages/frontend/src/ui/comment.js#L4
https://github.com/jimpick/lambda-comments/blob/master/packages/frontend/src/ui/comment.js#L16-L32
https://github.com/jimpick/lambda-comments/blob/master/packages/frontend/src/ui/comment.js#L43
xndrdev commented
Ok! I take a look on it and send you a PR.
pmuens commented
Great! Thank you! I'll assign you.