🎨 style(markdown): format markdown files

This commit is contained in:
csh
2026-01-11 12:58:27 +08:00
parent e3ecd26a88
commit 2b37860331
54 changed files with 10042 additions and 16272 deletions
+1
View File
@@ -5,6 +5,7 @@
> - **模板源**`playbook/rulesets/` → 通过 `sync_standards.*` 同步 → 目标项目的 `.agents/`
> - **AI 读取**:目标项目根目录的 `.agents/`,而非此处
> - **使用流程**
>
> ```
> playbook/rulesets/tsl/ → [sync] → your-project/.agents/tsl/ ← AI 代理读取
> (模板源) (实际使用)
+4
View File
@@ -11,17 +11,21 @@
## Markdown 代码格式约定(不可违反)
### 代码块
- 统一使用围栏代码块(```lang)
- 语言标识尽量准确:`tsl`/`cpp`/`python`/`bash`/`json`
- 仅做必要的排版修复;不改变代码语义
### 工具
- 优先使用仓库既有的格式化工具(如 Prettier)
- 不引入新的 Markdown 格式化依赖
### 行内代码
- 用反引号包裹命令、路径、关键字或短代码
## 适用范围
- 仅适用于 `.md` 文件
- 涉及代码内容时,遵循对应语言的 `.agents` 规则