Fix MDX import and export parsing (#17996)

Co-authored-by: fisker <lionkay@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2025-09-29 23:46:36 +08:00
1 parent ae83caa9f6
commit 87d905e0bc
10 files changed
+199 -9

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
#### Fix `import` and `export` parsing (#17996 by @kovsu & @fisker)
<!-- prettier-ignore -->
```mdx
{/* Input */}
- import is a word in lists
- export is a word in lists, too!
{/* Prettier stable */}
- import is a word in list
s
- export is a word in lists, too
!
{/* Prettier main */}
- import is a word in lists
- export is a word in lists, too!
```