Add code fencing example in the style guidlines (#12783)

* Add code fencing example in the style guidlines

* Add a period
pull/13030/head
Dani Comnea 2019-03-07 22:32:06 +00:00 committed by Kubernetes Prow Robot
parent a21bbe7cf8
commit 8d4bd9c1fe
1 changed files with 5 additions and 0 deletions

View File

@ -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>