Hi all,

We are in the process of doing $subject. We came across few (possible)
libraries to fulfill the requirement.

Here is the summary of each library (as at 2018/10/25).


*Option 1 : react-markdown*

URL : https://github.com/rexxars/react-markdown
Stars : 2730
Fork count : 276
Last commit : 14 days ago


*Option 2 : markdown-react-js*

URL : https://github.com/alexkuz/markdown-react-js
Stars : 95
Fork count : 17
Last commit : 10 months ago


*Option 3 : react-markdown-renderer*

URL : https://github.com/InsidersByte/react-markdown-renderer
Stars : 19
Fork count : 3
Last commit : 11 months ago


Accordingly, we can observe that option 1 is most suitable for this (mostly
used and actively developed).

Here is a sample (Option 1 : react-markdown).

const React = require('react')
const ReactDOM = require('react-dom')
const ReactMarkdown = require('react-markdown')

const input = '# This is a header\n\nAnd this is a paragraph'

ReactDOM.render(
  <ReactMarkdown source={input} />,
  document.getElementById('container')
)

A demo can be found in :
https://github.com/rexxars/react-markdown/blob/master/README.md

We thought of going forward with *Option 1 : react-markdown.*

Please share if you have any better suggestion than this.

Thanks.

-- 
Chamin Dias
Mobile : 0716097455
Email : [email protected]
LinkedIn : https://www.linkedin.com/in/chamindias
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to