File tree 4 files changed +21
-3
lines changed
4 files changed +21
-3
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " eslint-mdx " : patch
3
+ " eslint-plugin-mdx " : patch
4
+ ---
5
+
6
+ fix: incorrect docs due to prettier + mdx v2+ incompatible
Original file line number Diff line number Diff line change @@ -163,8 +163,12 @@ See also <https://github.com/syntax-tree/mdast#code>
163
163
164
164
A new ` MDXHeading ` estree node type is exported from ` eslint-mdx ` which represents markdown heading in ` mdx ` like the following:
165
165
166
+ <!-- mdx v2+ incompatible -->
167
+ <!-- prettier-ignore -->
166
168
``` mdx
167
- <div ># Here's a text gradient short code!</div >
169
+ <div >
170
+ # Here's a text gradient short code!
171
+ </div >
168
172
```
169
173
170
174
See also < https://github.com/syntax-tree/mdast#heading >
Original file line number Diff line number Diff line change @@ -163,8 +163,12 @@ See also <https://github.com/syntax-tree/mdast#code>
163
163
164
164
A new ` MDXHeading ` estree node type is exported from ` eslint-mdx ` which represents markdown heading in ` mdx ` like the following:
165
165
166
+ <!-- mdx v2+ incompatible -->
167
+ <!-- prettier-ignore -->
166
168
``` mdx
167
- <div ># Here's a text gradient short code!</div >
169
+ <div >
170
+ # Here's a text gradient short code!
171
+ </div >
168
172
```
169
173
170
174
See also < https://github.com/syntax-tree/mdast#heading >
Original file line number Diff line number Diff line change @@ -163,8 +163,12 @@ See also <https://github.com/syntax-tree/mdast#code>
163
163
164
164
A new ` MDXHeading ` estree node type is exported from ` eslint-mdx ` which represents markdown heading in ` mdx ` like the following:
165
165
166
+ <!-- mdx v2+ incompatible -->
167
+ <!-- prettier-ignore -->
166
168
``` mdx
167
- <div ># Here's a text gradient short code!</div >
169
+ <div >
170
+ # Here's a text gradient short code!
171
+ </div >
168
172
```
169
173
170
174
See also < https://github.com/syntax-tree/mdast#heading >
You can’t perform that action at this time.
0 commit comments