Features
MDX Processing Features

MDX Processing Features

MDXE provides powerful MDX processing capabilities with zero configuration required.

Frontmatter Support

MDXE automatically extracts frontmatter metadata:

---
title: My Page
description: Page description
---
 
# Content here

Remote Components

Import components from URLs:

import Button from 'https://ui.example.com/button'
 
<Button>Click me</Button>

Watch Mode

MDXE can watch your MDX files for changes:

const result = await processMDX({
  filepath: 'content/page.mdx',
  watch: {
    enabled: true,
    ignore: ['**/node_modules/**']
  }
})

Error Handling

MDXE provides detailed error messages:

try {
  await processMDX({ filepath: 'page.mdx' })
} catch (error) {
  console.error('MDX processing failed:', error.message)
}

Code Examples

See the API Reference for more examples.