From 8d4bd9c1fe0d7594d5c826cb731510f155b548b3 Mon Sep 17 00:00:00 2001 From: Dani Comnea Date: Thu, 7 Mar 2019 22:32:06 +0000 Subject: [PATCH] Add code fencing example in the style guidlines (#12783) * Add code fencing example in the style guidlines * Add a period --- content/en/docs/contribute/style/style-guide.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/en/docs/contribute/style/style-guide.md b/content/en/docs/contribute/style/style-guide.md index 8bae85f61d..744989acdd 100644 --- a/content/en/docs/contribute/style/style-guide.md +++ b/content/en/docs/contribute/style/style-guide.md @@ -110,8 +110,13 @@ document, use the backtick (`). DoDon't The kubectl run command creates a Deployment.The "kubectl run" command creates a Deployment. For declarative management, use kubectl apply.For declarative management, use "kubectl apply". + Enclose code samples with triple backticks. (```)Enclose code samples with any other syntax. +{{< note >}} +The website supports syntax highlighting for code samples, but specifying a language is optional. +{{< /note >}} + ### Use code style for object field names