add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -0,0 +1,24 @@
# highlight
> 输出语法高亮的源代码到多种格式。
> 更多信息请访问:<http://www.andre-simon.de/doku/highlight/highlight.php>。
- 从源代码文件生成完整的HTML文档
`highlight --out-format={{html}} --style {{theme_name}} --syntax {{language}} {{path/to/source_code}}`
- 生成适合包含在更大文档中的HTML片段
`highlight --out-format={{html}} --fragment --syntax {{language}} {{source_file}}`
- 在每个标签中内联CSS样式
`highlight --out-format={{html}} --inline-css --syntax {{language}} {{source_file}}`
- 列出所有支持的语言、主题或插件:
`highlight --list-scripts {{langs|themes|plugins}}`
- 打印一个主题的CSS样式表
`highlight --out-format={{html}} --print-style --style {{theme_name}} --syntax {{language}}] --stdout`