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.
yarn add --dev --exact prettier @prettier/plugin-mdx1Create or modify your prettier configuration file to use the plugin:
// 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;