File tree Expand file tree Collapse file tree 4 files changed +21
-3
lines changed
Expand file tree Collapse file tree 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>
163163
164164A new ` MDXHeading ` estree node type is exported from ` eslint-mdx ` which represents markdown heading in ` mdx ` like the following:
165165
166+ <!-- mdx v2+ incompatible -->
167+ <!-- prettier-ignore -->
166168``` mdx
167- <div ># Here's a text gradient short code!</div >
169+ <div >
170+ # Here's a text gradient short code!
171+ </div >
168172```
169173
170174See 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>
163163
164164A new ` MDXHeading ` estree node type is exported from ` eslint-mdx ` which represents markdown heading in ` mdx ` like the following:
165165
166+ <!-- mdx v2+ incompatible -->
167+ <!-- prettier-ignore -->
166168``` mdx
167- <div ># Here's a text gradient short code!</div >
169+ <div >
170+ # Here's a text gradient short code!
171+ </div >
168172```
169173
170174See 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>
163163
164164A new ` MDXHeading ` estree node type is exported from ` eslint-mdx ` which represents markdown heading in ` mdx ` like the following:
165165
166+ <!-- mdx v2+ incompatible -->
167+ <!-- prettier-ignore -->
166168``` mdx
167- <div ># Here's a text gradient short code!</div >
169+ <div >
170+ # Here's a text gradient short code!
171+ </div >
168172```
169173
170174See also < https://github.com/syntax-tree/mdast#heading >
You can’t perform that action at this time.
0 commit comments