ZeroCN

Usage

Install package

pnpm dlx shadcn@latest add https://zerocn.zeroopensource.org/r/mdx-cheatsheet.json

Install package (workspace)

pnpm --filter $WORKSPACE shadcn add https://zerocn.zeroopensource.org/r/mdx-cheatsheet.json

Demo

GFM Cheatsheet

www.example.com, https://example.com, and [email protected].

Footnote

A note1

Strikethrough

one or two tildes.

Table

abcd

Tasklist

  • to do
  • done

MDX Cheatsheet

a

MDX

blockquote

A greater than…

br

A backslash
before a line break…
or br tag

code

backtick.fences('for blocks')

em

Some asterisks for emphasis.

hr

Three asterisks for a thematic break:


img

![Alt text](/logo.png 'title')

li

  • asterisks for unordered items
  1. decimals and a dot for ordered items

ol

  1. decimals and a dot for ordered

p

Just some text…

pre

backtick.fences('for blocks')

strong

Two asterisks for strong.

ul

  • asterisks for unordered

h1-6

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Footnotes

  1. Big note.

References

On this page