You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`{{%/* codenew */%}}` shortcode is replaced by `{{%/* code */%}}`.
274
+
## Source code files
277
275
278
276
You can use the `{{%/* code */%}}` shortcode to embed the contents of file in a code block to allow users to download or copy its content to their clipboard. This shortcode is used when the contents of the sample file is generic and reusable, and you want the users to try it out themselves.
279
277
@@ -300,6 +298,9 @@ where `<RELATIVE-PATH>` is the path to the sample file to include, relative to t
300
298
{{%/* code file="configmap/configmaps.yaml" */%}}
301
299
```
302
300
301
+
The legacy `{{%/* codenew */%}}` shortcode is being replaced by `{{%/* code */%}}`.
302
+
Use `{{%/* code */%}}` in new documentation.
303
+
303
304
## Third party content marker
304
305
305
306
Running Kubernetes requires third-party software. For example: you
0 commit comments