Editor
Previewer

React Markdown Previewer

Project 2 from Free Code Camp's Front End Development Libraries Curriculum


Features

  • Typing into the left panel will update the right panel
  • Panel widths are adjustable (click and drag the gutter in the center)

Sample Markdown

Typography

  • Bold text is typed between a set of two asterisks
  • Italic text is typed between a set of one asterisk
  • Strike-through text is typed between tildas

Lists

  • Unordered lists are typed with a hyphen at the start of the line
    • They can be indented
  1. Ordered lists
  2. Are typed with a number
  3. At the start of the line.

Links

  • Links are typed within brackets, followed by a url parenthetical:

Code Blocks

  • Inline code is typed between 2 backticks: <code>Sample Inline Code</code>
  • Multi-line code is typed between lines of three backticks:
const helloWorld = () => {
 console.log('Hello World');
}

Block Quotes

  • Block quotes are typed with a right carrot at the start of the line:

"To be or not to be. That is the question."

Images

  • Images are typed similarly to links, but with an exclamation point at the beginning. Text within the brackets will become the alt text for the image.

React Logo