Add code fencing example in the style guidlines (#12783)
* Add code fencing example in the style guidlines * Add a periodpull/13030/head
parent
a21bbe7cf8
commit
8d4bd9c1fe
|
@ -110,8 +110,13 @@ document, use the backtick (`).
|
|||
<tr><th>Do</th><th>Don't</th></tr>
|
||||
<tr><td>The <code>kubectl run</code> command creates a Deployment.</td><td>The "kubectl run" command creates a Deployment.</td></tr>
|
||||
<tr><td>For declarative management, use <code>kubectl apply</code>.</td><td>For declarative management, use "kubectl apply".</td></tr>
|
||||
<tr><td>Enclose code samples with triple backticks. <code>(```)</code></td><td>Enclose code samples with any other syntax.</td></tr>
|
||||
</table>
|
||||
|
||||
{{< note >}}
|
||||
The website supports syntax highlighting for code samples, but specifying a language is optional.
|
||||
{{< /note >}}
|
||||
|
||||
### Use code style for object field names
|
||||
|
||||
<table>
|
||||
|
|
Loading…
Reference in New Issue