Skip to content

Commit

Permalink
change escaped chars to markdown (#18858)
Browse files Browse the repository at this point in the history
Helps to keep doc clean for long term
  • Loading branch information
anshprat authored and k8s-ci-robot committed Jan 28, 2020
1 parent a389b8f commit 040df41
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions content/en/docs/contribute/style/write-new-topic.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,9 @@ When adding a new standalone sample file, such as a YAML file, place the code in
one of the `<LANG>/examples/` subdirectories where `<LANG>` is the language for
the topic. In your topic file, use the `codenew` shortcode:

<pre>&#123;&#123;&lt; codenew file="&lt;RELPATH&gt;/my-example-yaml&gt;" &gt;&#125;&#125;</pre>

```none
{{</* codenew file="<RELPATH>/my-example-yaml>" */>}}
```
where `<RELPATH>` is the path to the file to include, relative to the
`examples` directory. The following Hugo shortcode references a YAML
file located at `/content/en/examples/pods/storage/gce-volume.yaml`.
Expand Down

0 comments on commit 040df41

Please sign in to comment.