Shortcodes: Website widgets

A list and examples of the custom shortcodes that are currently used and available in knative.dev.

STAUS: This page is in “draft state” and needs to be completed.

Knative custom shortcodes

https://github.com/knative/website/tree/main/layouts/shortcodes

All of these Knative shortcodes are added as examples in the smoketest pages

Learn more about shortcodes

Includes

Include files and code samples with the readfile shortcode:

https://github.com/knative/website/blob/main/layouts/shortcodes/readfile.md

Dynamic variables

Use them to reduce release maintenance and ensure content accuracy.

The following variable are dynamically populated based on the URL of the content in knative.dev:

Artifacts

https://github.com/knative/website/pull/129/files

Tabs

https://github.com/knative/website/pull/124