Usage
Install package
pnpm dlx shadcn@latest add https://zerocn.zeroopensource.org/r/mdx-cheatsheet.jsonInstall package (workspace)
pnpm --filter $WORKSPACE shadcn add https://zerocn.zeroopensource.org/r/mdx-cheatsheet.jsonDemo
GFM Cheatsheet
Autolink literals
www.example.com, https://example.com, and [email protected].
Footnote
A note1
Strikethrough
one or two tildes.
Table
| a | b | c | d |
|---|
Tasklist
- to do
- done
MDX Cheatsheet
a
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

li
- asterisks for unordered items
- decimals and a dot for ordered items
ol
- 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
-
Big note. ↩