add new chinese translations
This commit is contained in:
24
pages.zh/common/highlight.md
Normal file
24
pages.zh/common/highlight.md
Normal 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`
|
Reference in New Issue
Block a user