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