Skip to content
Your Name
Menu

Writing

Technical1 min read

Using MDX

Example MDX post showing that component-capable content still fits the editorial layout.

  • mdx
  • astro

MDX lets you keep Markdown’s writing flow while embedding components when needed.

Why it helps

This portfolio mostly needs Markdown. MDX is available for posts that benefit from custom callouts or diagrams later.

Highlights

  • Typed frontmatter via content collections
  • Familiar Markdown authoring
  • Room to embed components only when necessary

Note

function greetUser() {
	console.log("Hello, World!")
}

Prefer ordinary Markdown until a post truly needs a component. Fewer moving parts usually means better long-term maintenance.

Comments

Signed in with GitHub. Discussion is stored as a GitHub issue.