📝 Docs: 修复格式化导致的语法错误 (#3737)

This commit is contained in:
Ju4tCode
2025-10-29 13:23:46 +09:00
committed by GitHub
parent 62add13137
commit 08f7af05b6
2 changed files with 7 additions and 6 deletions

View File

@@ -1,2 +1,3 @@
.github/**/*.md .github/**/*.md
website/docs/tutorial/application.mdx website/docs/tutorial/application.mdx
website/versioned_docs/*/tutorial/application.mdx

View File

@@ -34,7 +34,7 @@ import TabItem from "@theme/TabItem";
1. (可选)创建虚拟环境,以 venv 为例 1. (可选)创建虚拟环境,以 venv 为例
<Tabs groupId="platform"> <Tabs groupId="platform">
<TabItem value="windows" label="Windows" default> <TabItem value="windows" label="Windows" default>
```bash ```bash
# 创建虚拟环境 # 创建虚拟环境
@@ -44,7 +44,7 @@ import TabItem from "@theme/TabItem";
``` ```
</TabItem> </TabItem>
<TabItem value="linux/macos" label="Linux/macOS"> <TabItem value="linux/macos" label="Linux/macOS">
```bash ```bash
# 创建虚拟环境 # 创建虚拟环境
@@ -54,26 +54,26 @@ import TabItem from "@theme/TabItem";
``` ```
</TabItem> </TabItem>
</Tabs> </Tabs>
2. 安装 nonebot2 以及驱动器,以 Fastapi 驱动器为例 2. 安装 nonebot2 以及驱动器,以 Fastapi 驱动器为例
<Tabs groupId="platform"> <Tabs groupId="platform">
<TabItem value="windows" label="Windows" default> <TabItem value="windows" label="Windows" default>
```bash ```bash
pip install "nonebot2[fastapi]" pip install "nonebot2[fastapi]"
``` ```
</TabItem> </TabItem>
<TabItem value="linux/macos" label="Linux/macOS"> <TabItem value="linux/macos" label="Linux/macOS">
```bash ```bash
pip install "nonebot2[fastapi]" pip install "nonebot2[fastapi]"
``` ```
</TabItem> </TabItem>
</Tabs> </Tabs>
驱动器包名可以在 [驱动器商店](/store/drivers) 中找到,请替换上文方括号中的内容。 驱动器包名可以在 [驱动器商店](/store/drivers) 中找到,请替换上文方括号中的内容。