Loading...
Loading...
Compare original and translation side by side
Step 2npm run formatStep 2npm run formatundefinedundefinedundefinedundefined| 层级 | 格式 | 示例 |
|---|---|---|
| 一级章节 | 数字编号 | |
| 二级章节 | 点号分隔 | |
| 三级章节 | 点号分隔 | |
| Level | Format | Example |
|---|---|---|
| Level 1 Chapter | Numeric numbering | |
| Level 2 Chapter | Dot-separated | |
| Level 3 Chapter | Dot-separated | |
------// ✅ 好的实践:简洁、有中文注释
function greet(name) {
return `Hello, ${name}`;
}
// ❌ 坏的实践:冗长、无注释jsonc// ✅// ❌// ✅ 好的实践:简洁、有中文注释
function greet(name) {
return `Hello, ${name}`;
}
// ❌ 坏的实践:冗长、无注释jsonc// ✅// ❌````markdown````markdownpython scripts/example.pyundefined注意:嵌套代码块的开头和结尾反引号数量必须一致,否则会导致渲染错误。
python scripts/example.pyundefinedNote: The number of backticks at the start and end of nested code blocks must be the same, otherwise rendering errors will occur.
> **注意**:重要警告或注意事项
> **提示**:有用的建议
> 说明:补充说明信息> **注意**:重要警告或注意事项
> **提示**:有用的建议
> 说明:补充说明信息**Q1: 问题内容?**
解答段落或代码示例...**Q1: 问题内容?**
解答段落或代码示例...