Next Mdx Enhanced
Description
A Next.js plugin that enables MDX pages, layouts, and front matter
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
**Note** This repository is no longer maintained or in-use at HashiCorp. As of March 2023, the repository is archived.
Next.js + MDX Enhanced
[](https://circleci.com/gh/hashicorp/next-mdx-enhanced)
Are you using [Next.js](https://github.com/zeit/next.js) with [MDX](https://mdxjs.com) and wanted layouts and [front matter](https://jekyllrb.com/docs/front-matter/)? That's exactly what this plugin will do for you! 🌟
⚠️ You probably should be using [next-mdx-remote](https://github.com/hashicorp/next-mdx-remote) instead of this library. It is ~50% faster, more flexible with content storage, does not induce memory issues at scale, and fits much better with the way that data is intended to flow through next.js.
For example, if have a site that displays content (e.g. documentation) that looks like:
MyDocsApp
├─ pages
│ ├ index.jsx
│ └ docs
│ ├ intro.mdx
│ └ advanced.mdx
├─ layouts
│ └ docs-page.jsx
└ next.config.js
And you want the following:
| feature | next-mdx-enhanced | @next/mdx |
|---|---|---|
| MDX files render as a navigable page | ✅ | ✅ |
| MDX files render with a common layout | ✅ | ❌ |
| An index page that contains a navigable link to each MDX | ✅ | ❌ |
Installation
Install the package:
$ npm install next-mdx-enhanced
Usage & Options
Open the `next.config.js` file and instantiate it as a Next.js plugin:
// next.config.js
const withMdxEnhanced = require('next-mdx-enhanced')
module.exports = withMdxEnhanced({
layoutPath: 'layouts',
defaultLayout: true,
fileExtensions: ['mdx'],
remarkPlugins: [],
rehypePlugins: [],
usesSrc: false,
extendFrontMatter:
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11