App Builders

MDX pipeline smoke test

Andrew Buck Andrew Buck 1 min read
Table of contents

This post exists to prove the hand-written path works. It is not linked from anywhere and carries no marketing copy.

Headings drive the table of contents

The sidebar index is built from the H2s on this page at build time. There is no stored table of contents to keep in step with the copy, which is what used to go wrong: the migration wrote one into frontmatter, so renaming a heading left the index pointing at an anchor that no longer existed.

Nested headings are picked up too

Reading time is counted from the body rather than stored, so it cannot go stale either.

Ordinary markdown is enough

Bold, italic, an internal link and lists all behave:

  • A list item
  • Another one

And a blockquote, for a pull quote.

Structured data

This page emits BlogPosting and BreadcrumbList, plus FAQPage from the frontmatter above, exactly as a migrated post does.

Andrew Buck

Andrew Buck

Head of Content

Andrew is a content marketer with close to 10 years' experience creating digitally-native content. He has written extensively on topics related to Shopify, Amazon, ecommerce and digital marketing, drawing on previous experience in high-traffic retail and customer service. He started his marketing career with LandingCube, a SaaS tool for Amazon sellers, and has since progressed to work with numerous successful startups, creating helpful and engaging content, which has been referenced in thousands of publications, including Forbes, the New York Times, and many more leading websites. Now, Andrew runs all content operations for MobiLoud.

Frequently asked questions

Does the FAQ block still work on an MDX post? +

Yes. It renders at the foot of the article and emits FAQPage structured data, the same as on a migrated post.

Related reading

Get a free preview of your app

See how your store would look and feel as a mobile app, before deciding whether to build.

No credit card required.