Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 477 Bytes

File metadata and controls

25 lines (17 loc) · 477 Bytes

react-markdown

What is it

Very simple React component that supports lightweight Markdown syntax formatting. It requires no dependencies.

How to use it

import {Markdown} from './Markdown.js';

<Markdown md={"# Test"} />

This will generate associated HTML based on Markdown. You can then add your own CSS to change display.

Supported features

  • Paragraphs
  • Bold, Italic
  • Links
  • Ordered lists, unordered lists
  • Code and Fenced code
  • Quotes
  • Images