Engineering ·
Placeholder: Writing posts with MDX components
By sherpa team
This blog has no CMS. Each post is a markdown file in content/blog/, and
adding one publishes it on the next build. Plain .md covers most posts; an
.mdx file can also use a small set of components.
A figure with a caption

A product video
Before and after
Before

After

Code and tables
Every post is checked when the site builds:
export const dynamicParams = false;
export function generateStaticParams() {
return getAllPosts().map(({ slug }) => ({ slug }));
}
| Piece | Where it lives |
|---|---|
| Posts | content/blog/*.md[x] |
| Loader | lib/collections/ |
| Components | components/blog/mdx.tsx |
Interested in this kind of work? Read about the company and the MDX docs.
Share this post
Share on LinkedInBuild the future of work with us.
Whether you want early access or you’re curious about joining the team, we’d love to hear from you.