Add tabs to smoketest page (#2151)

* Add tabs to smoketest page

* Add include example too

* indentation

* updating tabs

* updating tabs

* updating tabs using code block

* updating tabs using code block

* updating tabs

* updating tabs

* updating tabs

* updating tabs
This commit is contained in:
Sam O'Dell 2020-02-10 13:56:07 -08:00 committed by GitHub
parent 26c5d412f3
commit 3ca11a2e6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# Spacer Title
<br>
<br><br>
# Hidden smoketest page
@ -65,3 +65,19 @@ added in-line with the
Example:
`git clone -b "{{% branch override="release-0.NEXT" %}}" https://github.com/knative/docs knative-docs`
## Tabs
How to include tabbed content in your page. Note that you can set a default tab.
(View the raw version of this page for example syntax; it doesn't render well here.)
{{< tabs name="tabs_example" default="Include example" >}}
{{% tab name="Regular example" %}}
This is a regular example tab.
{{< /tab >}}
{{% tab name="Include example" %}}
{{% readfile file="./docs/install/README.md" %}}
{{< /tab >}}
{{< /tabs >}}