File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 20
20
* [ Custom Languages in Code Blocks] ( #custom-languages-in-code-blocks )
21
21
* [ ESLint] ( #eslint )
22
22
* [ Auto-close tags] ( #auto-close-tags )
23
+ * [ Prettier] ( #prettier )
23
24
* [ Sponsor] ( #sponsor )
24
25
* [ Changelog] ( #changelog )
25
26
* [ License] ( #license )
@@ -177,6 +178,17 @@ If you want VS Code to automatically close tags while you type, install
177
178
}
178
179
```
179
180
181
+ ## Prettier
182
+
183
+ [ Prettier] [ ] supports MDX 1, but MDX 2 and 3
184
+ [ are not officially supported] [ prettier issue ] yet.
185
+ We recommend against formatting MDX files with Prettier.
186
+ To opt out, add the following line to your ` .prettierignore ` file:
187
+
188
+ ``` ignore
189
+ *.mdx
190
+ ```
191
+
180
192
## Sponsor
181
193
182
194
See [ § Sponsor] [ sponsor ] on our site for how to help financially.
@@ -297,6 +309,10 @@ Detailed changes for each release are documented in [CHANGELOG.md](./CHANGELOG.m
297
309
298
310
[ openvsx-badge ] : https://img.shields.io/open-vsx/dt/unifiedjs/vscode-mdx
299
311
312
+ [ prettier ] : https://prettier.io
313
+
314
+ [ prettier issue ] : https://github.com/prettier/prettier/issues/12209
315
+
300
316
[ sponsor ] : https://mdxjs.com/community/sponsor/
301
317
302
318
[ sponsors-badge ] : https://opencollective.com/unified/sponsors/badge.svg
You can’t perform that action at this time.
0 commit comments