Getting Started
Getting Started with MDXE

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

  1. Add MDXE to your Next.js project:
// next.config.mjs
import { withMDXE } from 'mdxe'
 
export default withMDXE({
  // your existing Next.js config
})
  1. Create an MDX file:
---
title: My First MDX Page
---
 
# Hello, MDXE!
 
This is my first MDX page using MDXE.
  1. Start your development server:
npm run dev

What's Next?