pmuens / discuss

100% serverless forum software (Technologies used: Serverless, DynamoDB, ES2015, React, Redux, Node.js, GraphQL)
118 stars 21 forks source link

Add markdown support #12

Closed pmuens closed 8 years ago

pmuens commented 8 years ago

This is a good implementation: https://github.com/jimpick/lambda-comments/blob/master/packages/frontend/src/ui/comment.js

xndrdev commented 8 years ago

What about: https://github.com/rexxars/react-markdown ? @pmuens

pmuens commented 8 years ago

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 8 years ago

Ok! I take a look on it and send you a PR.

pmuens commented 8 years ago

Great! Thank you! I'll assign you.