Use markdown instead of html escape chars #18857
Labels
language/en
Issues or PRs related to English language
lifecycle/active
Indicates that an issue or PR is actively being worked on by a contributor.
This is a Bug Report
Problem:
The code in https://github.com/kubernetes/website/blob/master/content/en/docs/contribute/style/write-new-topic.md uses escaped HTML chars to display. The following
{{< codenew file="<RELPATH>/my-example-yaml>" >}}
is displayed using
<pre>{{< codenew file="<RELPATH>/my-example-yaml>" >}}</pre>
The code can be much better than the existing escaped HTML by using markdown properly which will help in easier maintenance and reference.
Found this issue while working on #18245
Proposed Solution:
Use markdown instead of escaped chars.
Page to Update:
https://kubernetes.io/docs/contribute/style/write-new-topic/#including-code-from-another-file
The text was updated successfully, but these errors were encountered: