Markdown Examples

View examples of common Markdown and MDX formatting in the new blog system.

Headings

Use headings to create a readable outline. The page title comes from frontmatter, so posts should normally begin at ##.

A smaller heading

This is a paragraph under a smaller heading.

Emphasis

This is bold text.

This is italic text.

This is struck through.

Blockquotes

Good writing is a debugging tool for your own thinking.

Lists

Unordered:

  • Read the source.
  • Find the real boundary.
  • Make the change small enough to reason about.

Ordered:

  1. Write the draft.
  2. Run the site locally.
  3. Ship the static export.

Code

Inline code works like getAllPosts().

export default function Example() {
  return <p>MDX is rendered at build time.</p>
}

Tables

OptionDescription
MDXLocal files with React components when needed.
RSSGenerated from the same post metadata.
Static exportEasy to deploy to Cloudflare Pages.