@prettier/plugin-mdx1
v0.0.4
Published
Prettier MDX1 plugin
Downloads
371
Maintainers
Keywords
Readme
@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.
Install
yarn add --dev --exact prettier @prettier/plugin-mdx1Usage
Create 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;