Problem

The AccountKit MDX has repo leverages Markdown components that Fern doesn’t know how to render. This document walks through simple changes that will allow the Markdown to be compatible.

To make the AccountKit MDX interoperable with Fern, 6 things need to be fixed:

Replace TileButton with fern’s Card component

Replace SmallTileRow with fern’s Card component

Removing duplicate H1 elements

Replace :::code-group with fern’s CodeBlocks component

Replace :::info , :::tip, :::warning with fern’s Callout component

Replace :::details with fern’s Accordion component