change escaped chars to markdown (#18858)
Helps to keep doc clean for long term
This commit is contained in:
parent
a389b8f543
commit
040df41846
|
|
@ -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>{{< codenew file="<RELPATH>/my-example-yaml>" >}}</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`.
|
||||
|
|
|
|||
Loading…
Reference in New Issue