Skip to content

Commit

Permalink
📝 Docs: 修复 RegexMatched​ 文档高亮行错误 (#2628)
Browse files Browse the repository at this point in the history
  • Loading branch information
A-kirami committed Apr 4, 2024
1 parent bc58fbb commit 8a44b4d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions website/docs/advanced/dependency.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ async def _(foo: Namespace = ShellCommandArgs()):
<Tabs groupId="python">
<TabItem value="3.9" label="Python 3.9+" default>

```python {4}
```python {5}
from re import Match
from typing import Annotated
from nonebot.params import RegexMatched
Expand All @@ -966,7 +966,7 @@ async def _(foo: Annotated[Match[str], RegexMatched()]): ...
</TabItem>
<TabItem value="3.8" label="Python 3.8+">

```python {3}
```python {4}
from re import Match
from nonebot.params import RegexMatched

Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-2.1.3/advanced/dependency.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ async def _(foo: Namespace = ShellCommandArgs()):
<Tabs groupId="python">
<TabItem value="3.9" label="Python 3.9+" default>

```python {4}
```python {5}
from re import Match
from typing import Annotated
from nonebot.params import RegexMatched
Expand All @@ -966,7 +966,7 @@ async def _(foo: Annotated[Match[str], RegexMatched()]): ...
</TabItem>
<TabItem value="3.8" label="Python 3.8+">

```python {3}
```python {4}
from re import Match
from nonebot.params import RegexMatched

Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-2.2.0/advanced/dependency.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ async def _(foo: Namespace = ShellCommandArgs()):
<Tabs groupId="python">
<TabItem value="3.9" label="Python 3.9+" default>

```python {4}
```python {5}
from re import Match
from typing import Annotated
from nonebot.params import RegexMatched
Expand All @@ -966,7 +966,7 @@ async def _(foo: Annotated[Match[str], RegexMatched()]): ...
</TabItem>
<TabItem value="3.8" label="Python 3.8+">

```python {3}
```python {4}
from re import Match
from nonebot.params import RegexMatched

Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-2.2.1/advanced/dependency.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ async def _(foo: Namespace = ShellCommandArgs()):
<Tabs groupId="python">
<TabItem value="3.9" label="Python 3.9+" default>

```python {4}
```python {5}
from re import Match
from typing import Annotated
from nonebot.params import RegexMatched
Expand All @@ -966,7 +966,7 @@ async def _(foo: Annotated[Match[str], RegexMatched()]): ...
</TabItem>
<TabItem value="3.8" label="Python 3.8+">

```python {3}
```python {4}
from re import Match
from nonebot.params import RegexMatched

Expand Down

0 comments on commit 8a44b4d

Please sign in to comment.