All posts tagged “markdown

comment 0

Meteor and React: Markdown editor with draft.js and marked.js

Recently I switched my current project from Meteor 1.2 to 1.3. While doing so I reworked the code for my markdown editor. When created the markdown editor in the first place I learned about the necessity of a solid platform to build web editors. So this time I used draft.js as base. Facebook open sourced draft.js a few months ago. They use it almost everywhere on Facebook page, so it should be well-tested.

The markdown editor you’re going to build has these features:

  • Instant html preview rendering
  • Support for GitHub flavoured syntax and markdown tables
  • Drag and drop file upload.
  • Copy and paste file upload.

Optionally: File upload with Meteor and FS Collection.
Read More