@next/mdx と next-mdx-remote-client の使い分け・gray-matter の型安全化・params の async 対応・OG 画像の Edge Runtime でのフォントキャッシュ問題まで、実装で詰まった点を整理しています。