Components/Markdown

Markdown

A markdown component with a clean look and no-frills parsing.

Hello, world!

This is a paragraph. You may use it for LLM generations, easy CMS, or something else. It's based on <ReactMarkdown /> and inspired by .

It has some pretty sweet components like:

  • This unordered list
  • This ordered list
  • This code block

This is a heading 2

This is a heading 3

This is a heading 4

This is a heading 5
This is a heading 6

We can also use ordered lists.

  1. Item 1
  2. Item 2
  3. Item 3

This is a quote.

It supports code blocks

const a = 1; const b = 2;

And images

San Francisco

San Francisco

It also supports tables:

NameAge
John25
Jane30

Installation

Install using the shadcn CLI

pnpm dlx shadcn@latest add https://splashui.com/r/markdown.json