Wed Jul 02
This is a sample page of an article in .mdx format created with the Astrto Starter template.

//.mdx
export const CustomComponent = () => (
<div>
<h2 class="text-2xl font-bold">
This is a sample page of an article in .mdx format created with the Astrto Starter template.
</h2>
<!-- // Add more content -->
</div>
);
<CustomComponent />;
If you want to create an article with a complex layout, you can use the .mdx file to freely layout it.