Best Practices

MDX pipeline smoke test

An English-only post used to verify that hreflang sibling matrices correctly omit absent locales.

Mark KimMark Kim1 min read

This post exists in English only. It is intentionally not translated, so that we can verify the hreflang sibling matrix omits ko, de, and fr when those locale files do not exist.

Things this post checks

  • next-mdx-remote/rsc renders body to SSR HTML.
  • rehype-slug adds id to this heading.
  • rehype-autolink-headings wraps headings in anchors.
  • rehype-pretty-code highlights the snippet below.
export function hello(name: string): string {
  return `Hello, ${name}!`;
}

Tables work too

LocaleSibling exists?
enyes
kono
deno
frno

That's all this post is for.

Cite as

Get the next post in your inbox

One anchor essay a week on Answer Engine Optimization. No filler.

Related