Skip to content
All posts
Next.js

Sample Post: Writing with MDX

· 1 min read · #sample #mdx

This is a sample post. It exists only to show how the blog looks, so delete it or replace it with your own.

Headings and text

Regular paragraphs use the body font. You can add links, inline code, and emphasis anywhere in the text.

A smaller heading

  • Lists are plain and readable
  • Each item keeps the same line height
  • Nested content works too
  1. Ordered lists
  2. Also work
  3. As expected

A blockquote is useful for a short note or a quote from someone else.

Callouts

Code

lib/greet.ts
export function greet(name: string) {
  return `Hello, ${name}`;
}