The Kitchen Sink
A reference post that exercises every kind of Markdown Typeset renders — headings, lists, tables, footnotes, math, code, and more — with original copy.
This post exists to be thorough on purpose. It throws every kind of content at Typeset so you can see how each one renders. If something here looks broken, that is a bug in the theme, not the content.
Inline semantics
You can have bold, italic, both, struck through, and inline code. You can mark things like this, abbreviate HTML, use keyboard keys like Cmd + K, and add footnotes1 or a longer one2.
Headings descend
This is an h3
It sits below the h2 above and above the h4 below.
This is an h4
This is an h5, a small uppercase-ish label
This is an h6, an even smaller label
Lists
Unordered:
- First item
- Second item with a nested list
- Nested once
- Nested again
- Three levels deep
- Back to the top level
Ordered:
- Read the post
- Try the code
- Notice the details
Task lists
- Set up the design tokens
- Render markdown with Typeset
- Add math support
- Ship it
Blockquotes
A blockquote is a way to borrow someone else's words without borrowing their formatting.
It can span multiple paragraphs and even contain a list:
- one
- two
Code
Inline code: const x = 42. A block:
type Post = {
slug: string;
title: string;
date: string;
};
function isPublished(post: Post): boolean {
return Boolean(post.date);
}
A shell block:
npm install
npm run dev
Math
Inline math: the area of a circle is . A display equation:
And Euler's identity, for the ceremony:
Tables
| Token | Value | Use |
|---|---|---|
--background | oklch(1 0 0) | Page background |
--foreground | oklch(0.145 0 0) | Body text |
--muted-foreground | oklch(0.556 0 0) | Captions |
A wider table that should scroll horizontally on small screens:
| Name | Type | Default | Description | Since |
|---|---|---|---|---|
size | "sm" | "default" | "lg" | "default" | Avatar dimensions | 1.0 |
variant | "default" | "outline" | "ghost" | "default" | Visual treatment | 1.2 |
render | ReactElement | — | Replace the rendered element | 2.0 |
Links
A plain link and an autolink: https://oklch.fyi.
Images
An image with a caption via figure semantics:
Dividers
A horizontal rule separates sections:
Everything after the rule is its own section.
Disclosure
Click to reveal a secret
Hidden content lives here. Useful for FAQs and long examples you do not want to flood the page with.
Definition list
- Typeset
- A markdown styling layer you own.
- OKLCH
- A perceptually uniform color space.
Footnotes
That is everything. If it all reads cleanly, the theme is doing its job.
Comments(5)
The concentric radius tip alone was worth the read. I’ve been matching outer and inner radii for years without realizing why it felt off.
outer = inner + padding— that’s the whole rule.Same — once you see it, you can’t unsee the mismatch on nested cards.
Exactly. Glad this landed.
Also useful with Typeset measure caps — nesting and measure fight each other if you’re not careful.
Clear writing on a topic that usually gets hand-waved. Would love a follow-up on how this plays with nested dialogs.