File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
content/zh-cn/docs/contribute/style Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,14 @@ title: 文档样式指南
3
3
linktitle : 样式指南
4
4
content_type : concept
5
5
weight : 40
6
+ math : true
6
7
---
7
8
<!--
8
9
title: Documentation Style Guide
9
10
linktitle: Style guide
10
11
content_type: concept
11
12
weight: 40
13
+ math: true
12
14
-->
13
15
14
16
<!-- overview -->
@@ -658,6 +660,34 @@ apiVersion: v1 # 早期版本使用...
658
660
kind : Pod
659
661
...
660
662
```
663
+
664
+ <!--
665
+ ## Formulae and equations
666
+
667
+ You can use the Docsy support for [diagrams and formulae](https://www.docsy.dev/docs/adding-content/diagrams-and-formulae/#latex-support-with-katex).
668
+
669
+ For example: `\\(\frac{7}{9} \sqrt{K^8 s}\\)`, which renders as \\(\frac{7}{9} \sqrt{K^8 s}\\).
670
+ -->
671
+ ## 公式与方程
672
+
673
+ 你可以使用 Docsy
674
+ 对[ 图表和公式] ( https://www.docsy.dev/docs/adding-content/diagrams-and-formulae/#latex-support-with-katex ) 的支持。
675
+
676
+ 例如:` \$\frac{7}{9} \sqrt{K^8 s}\$ ` ,渲染结果为 \\ (\frac{7}{9} \sqrt{K^8 s}\\ )。
677
+
678
+ <!--
679
+ Prefer inline formulae where reasonable, but you can use a `math` block if that's likely to help readers.
680
+
681
+ Read the Docsy guide to find out what you need to change in your page to activate support;
682
+ if you have problems, add `math: true` to the page [front matter](https://gohugo.io/content-management/front-matter/)
683
+ (you can do this even if you think the automatic activation should be enough).
684
+ -->
685
+ 尽可能使用行内公式,但在有助于读者理解的情况下,也可以使用 ` math ` 块。
686
+
687
+ 请阅读 Docsy 指南,了解需要在页面中进行哪些更改以激活支持;如果遇到问题,
688
+ 请在页面的[ 前置元数据] ( https://gohugo.io/content-management/front-matter/ ) 中添加
689
+ ` math: true ` (即使你认为自动激活已足够,也可以这样做)。
690
+
661
691
<!--
662
692
## Kubernetes.io word list
663
693
You can’t perform that action at this time.
0 commit comments