Skip to main content

Playground

Type Markdown on the left and see live conversion output on the right.

Markdown Input
Output

Heading 1 — md-to-rich Demo

Inline Formatting

A paragraph with bold, italic, strikethrough, and inline code.

Here is a hyperlink.

Code Block

import { toHtml } from 'md-to-rich'
const html = toHtml('# Hello')

Lists

  • Alpha
  • Beta with bold
  1. First
  2. Second
  • Done

  • Pending

Blockquote

"The best tools disappear into the work."


Table

OptionTypeDefault
headingIdsbooleantrue
gfmbooleantrue