Prettier MDX1 plugin
npm install @prettier/plugin-mdx1

> 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.
``bash`
yarn add --dev --exact prettier @prettier/plugin-mdx1
Create or modify your prettier configuration file 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;
``