Skip to content

Markdown Component #1

Description

@sapegin

Only components that render Markdown as React components, not as HTML string inside dangerouslySetInnerHTML.

markdown-to-react-components

Deprecated

Based on Marked.

Pros:

  • Requires no Webpack hacks.

Cons:

  • Based on Marked.
  • Tries to highlight code with Prism by default, which is not “included”.

markdown-react-js

Based on Markdown It.

Cons:

  • No HTML support.
  • Requires Webpack hacks.
  • No updates since November 2015.

remark-react

Based on Remark.

Cons:

  • Requires too much Webpack hacks.

markdown-to-jsx

Based on Remark.

Pros:

  • HTML and tables support.

react-markdown

Based on CommonMark.

Cons:

  • No tables support.
  • Requires Webpack hacks.

simple-markdown

Pros:

  • No dependencies.
  • Very small (less than 4 KB which is ~10 times smaller than other libraries)

Cons:

  • No HTML support.

remarkable-react

Based on Remarkable.

Cons:

  • No HTML support.

Marksy

Based on Marked.

Pros:

  • Based on Marked (smaller then other libraries).
  • Requires no webpack hacks.

Cons:

  • Based on Marked.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions