Get started with react-markdown CDN
MIT licensed
React-markdown is a popular library for rendering Markdown text in React applications.
Tags:- commonmark
- markdown
- react
- react-component
Stable version
Copied!
How to start using react-markdown CDN
import React from 'react';
import ReactMarkdown from 'react-markdown/dist/react-markdown.min.js'; // Import the minified version from the CDN
const MarkdownComponent = () => {
const markdownSource = `
# Welcome to my Markdown Page!
This is an example of using **React** and **react-markdown** to render Markdown content in a React component.
## List
- Item 1
- Item 2
- Item 3
## Code Snippet
All versions
2.4.2
2.4.3
2.4.4
2.4.5
2.4.6
2.5.0
2.5.1
3.0.0
3.0.0-rc1
3.0.0-rc2
3.0.0-rc3
3.0.0-rc4
3.0.1
3.0.2
3.1.0
3.1.1
3.1.2
3.1.3
3.1.4
3.1.5
3.2.0
3.2.1
3.2.2
3.3.0
3.3.1
3.3.2
3.3.3
3.3.4
3.4.0
3.4.1
3.5.0
3.6.0
4.0.0
4.0.1
4.0.2
4.0.3
4.0.4
4.0.5
4.0.6
4.0.7
4.0.8
4.0.9
4.1.0
4.2.0
4.2.1
4.2.2
4.3.0
4.3.1
5.0.0
5.0.1
5.0.2
5.0.3
6.0.0
6.0.1
6.0.2
6.0.3
7.0.0
7.0.1
7.1.0
7.1.1
7.1.2
8.0.0
8.0.1
8.0.2
8.0.3
8.0.4
8.0.5
8.0.6
8.0.7
9.0.0
*** 9.0.1