https://github.com/prettier/prettier-plugin-mdx1
Prettier MDX1 plugin
https://github.com/prettier/prettier-plugin-mdx1
Last synced: 5 months ago
JSON representation
Prettier MDX1 plugin
- Host: GitHub
- URL: https://github.com/prettier/prettier-plugin-mdx1
- Owner: prettier
- License: mit
- Created: 2026-01-04T12:42:54.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2026-01-12T17:35:56.000Z (6 months ago)
- Last Synced: 2026-01-12T23:04:09.067Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.14 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# @prettier/plugin-mdx1
[](https://www.npmjs.com/package/@prettier/plugin-mdx1)
[](https://github.com/prettier/prettier-plugin-mdx1/blob/main/license)
> Prettier plugin for MDX1.
> [!IMPORTANT]
> This plugin extracted for MDX1 users from prettier v3.7.
>
> Please migrate to MDX3, and use the builtin parser if possible.
>
> This plugin only change if bugs found, won't add any new features.
## Install
```bash
yarn add --dev --exact prettier @prettier/plugin-mdx1
```
## Usage
Create or modify your [prettier configuration file](https://prettier.io/docs/en/configuration) to use the plugin:
```js
// prettier.config.mjs
import * as prettierPluginMdx1 from "@prettier/plugin-mdx1";
/**
* @see https://prettier.io/docs/configuration
* @type {import("prettier").Config}
*/
const config = {
plugins: [prettierPluginMdx1],
};
export default config;
```