← Blog

2026-03-28

Hello World

My first post - setting up this blog with Next.js and MDX.

Hello World

Welcome to my blog. This is my first post, written in MDX.

Why MDX?

MDX lets me write content in plain markdown while still being able to drop in React components wherever I need them. For example, here's a Callout component:

export default function Callout({ children }: { children: React.ReactNode }) {
  return (
    <div className="...">
      {children}
    </div>
  );
}

And it renders live, right here in the post:

This is a live React component rendered inside MDX - no extra build step needed.

It's a great fit for a developer blog where you might want to embed interactive examples or custom callouts.

What to Expect

I'll mostly write about:

A Quick Code Sample

Here's a simple Python snippet to kick things off:

def greet(name: str) -> str:
    return f"Hello, {name}!"
 
print(greet("world"))

More posts coming soon.