You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -227,14 +229,14 @@ The copy is called a "fork". | The copy is called a "fork."
227
229
<!--
228
230
## Inline code formatting
229
231
230
-
### Use code style for inline code and commands
232
+
### Use code style for inline code and commands, and API objects
231
233
232
234
For inline code in an HTML document, use the `<code>` tag. In a Markdown
233
235
document, use the backtick (`` ` ``).
234
236
-->
235
237
## 行间代码格式 {#inline-code-formatting}
236
238
237
-
### 为行间代码和命令使用代码样式
239
+
### 为行间代码、命令与 API 对象使用代码样式
238
240
239
241
对于 HTML 文档中的行间代码,使用 `<code>` 标记。
240
242
在 Markdown 文档中,使用反引号(`` ` ``)。
@@ -243,7 +245,9 @@ document, use the backtick (`` ` ``).
243
245
{{< table caption = "Do and Don't - Use code style for inline code and commands" >}}
244
246
Do | Don't
245
247
:--| :-----
246
-
The `kubectl run`command creates a Deployment. | The "kubectl run" command creates a Deployment.
248
+
The `kubectl run` command creates a `Pod`. | The "kubectl run" command creates a pod.
249
+
The kubelet on each node acquires a `Lease`… | The kubelet on each node acquires a lease…
250
+
A `PersistentVolume` represents durable storage… | A Persistent Volume represents durable storage…
247
251
For declarative management, use `kubectl apply`. | For declarative management, use "kubectl apply".
248
252
Enclose code samples with triple backticks. (\`\`\`)| Enclose code samples with any other syntax.
249
253
Use single backticks to enclose inline code. For example, `var example = true`. | Use two asterisks (`**`) or an underscore (`_`) to enclose inline code. For example, **var example = true**.
@@ -255,7 +259,9 @@ Remove trailing spaces in the code. | Add trailing spaces in the code, where the
0 commit comments