GitMarkonics icon indicating copy to clipboard operation
GitMarkonics copied to clipboard

marked instead of draft-js

Open Rishabhraghwendra18 opened this issue 4 years ago • 3 comments

I am thinking of removing our dependency on draft-js by marked

Reasons:

  • Marked is light weight & fast than draft-js
  • low-level compiler for parsing markdown without caching or blocking for long periods of time
  • Easy to use.
  • Can modify it as per our needs. This is complex in draft-js.
  • Have more downloads than draft-js.
  • Used by Atom text editor for it's markdown preview.

We can easily integrate it with Reactjs.

Resources

  • used by Atom text editor (see in package.json) : https://github.com/atom/markdown-preview
  • marked : https://www.npmjs.com/package/marked

Rishabhraghwendra18 avatar Jun 15 '21 11:06 Rishabhraghwendra18

We should discuss this in a meeting.

Rishabhraghwendra18 avatar Jun 15 '21 11:06 Rishabhraghwendra18

We should discuss this in a meeting.

suree !!

hkaur008 avatar Jun 15 '21 15:06 hkaur008

@hkaur008 pls assign this issue to me.

ishitakapoor26 avatar Jun 17 '21 11:06 ishitakapoor26