Skip to content

Commit 8af55b5

Browse files
committedSep 4, 2022
feat: support mdx
1 parent 13d9c80 commit 8af55b5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎prettier.config.js

+7
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,12 @@ module.exports = {
5151
proseWrap: "preserve",
5252
},
5353
},
54+
{
55+
files: "{*.mdx}",
56+
options: {
57+
parser: "mdx",
58+
proseWrap: "preserve",
59+
},
60+
},
5461
],
5562
}

0 commit comments

Comments
 (0)
Please sign in to comment.