Skip to Content

mdxe

mdxe is a zero-config CLI to evaluate and execute MDX files.

Features

  • Zero configuration required
  • Supports both global installation and npx usage
  • Interactive file selection when multiple MDX files are present
  • Automatic MDX compilation and execution
  • Beautiful CLI output with helpful error messages
  • Support for executable MDX files with shebang
  • CLI command to make files executable

Installation

npm install -g mdxe

Usage

mdxe posts/hello-world.mdx

or if you have not installed it globally:

npx mdxe posts/hello-world.mdx
Last updated on