Skip to content

Commit

Permalink
chore: address review issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Dec 16, 2023
1 parent a3a86d8 commit 22184ba
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 39 deletions.
20 changes: 7 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,28 +149,22 @@ A new `MDXCode` estree node type is exported from `eslint-mdx` which represents

````mdx
<div>

```js
export function foo() {
return 'bar'
}
```

```js
export function foo() {
return 'bar'
}
```
</div>
````

See also <https://github.com/syntax-tree/mdast#code>

### `MDXHeading`

A new `MDXHeading` estree node type is exported from `eslint-mdx` which represents code blocks in `mdx` like the following:
A new `MDXHeading` estree node type is exported from `eslint-mdx` which represents markdown heading in `mdx` like the following:

```mdx
<div>

# Here's a text gradient short code!

</div>
<div># Here's a text gradient short code!</div>
```

See also <https://github.com/syntax-tree/mdast#heading>
Expand Down
20 changes: 7 additions & 13 deletions packages/eslint-mdx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,28 +149,22 @@ A new `MDXCode` estree node type is exported from `eslint-mdx` which represents

````mdx
<div>

```js
export function foo() {
return 'bar'
}
```

```js
export function foo() {
return 'bar'
}
```
</div>
````

See also <https://github.com/syntax-tree/mdast#code>

### `MDXHeading`

A new `MDXHeading` estree node type is exported from `eslint-mdx` which represents code blocks in `mdx` like the following:
A new `MDXHeading` estree node type is exported from `eslint-mdx` which represents markdown heading in `mdx` like the following:

```mdx
<div>

# Here's a text gradient short code!

</div>
<div># Here's a text gradient short code!</div>
```

See also <https://github.com/syntax-tree/mdast#heading>
Expand Down
20 changes: 7 additions & 13 deletions packages/eslint-plugin-mdx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,28 +149,22 @@ A new `MDXCode` estree node type is exported from `eslint-mdx` which represents

````mdx
<div>

```js
export function foo() {
return 'bar'
}
```

```js
export function foo() {
return 'bar'
}
```
</div>
````

See also <https://github.com/syntax-tree/mdast#code>

### `MDXHeading`

A new `MDXHeading` estree node type is exported from `eslint-mdx` which represents code blocks in `mdx` like the following:
A new `MDXHeading` estree node type is exported from `eslint-mdx` which represents markdown heading in `mdx` like the following:

```mdx
<div>

# Here's a text gradient short code!

</div>
<div># Here's a text gradient short code!</div>
```

See also <https://github.com/syntax-tree/mdast#heading>
Expand Down

0 comments on commit 22184ba

Please sign in to comment.