Getting Started with MDXE
MDXE is a zero-config MDX processor that seamlessly integrates with Next.js. This guide will help you get started quickly.
Installation
Install MDXE using your preferred package manager:
# Using npm
npm install mdxe
# Using yarn
yarn add mdxe
# Using pnpm
pnpm add mdxe
Quick Start
- Add MDXE to your Next.js project:
// next.config.mjs
import { withMDXE } from 'mdxe'
export default withMDXE({
// your existing Next.js config
})
- Create an MDX file:
---
title: My First MDX Page
---
# Hello, MDXE!
This is my first MDX page using MDXE.
- Start your development server:
npm run dev