Add Katacoda Embedded Live Environment (#10276)

* Create kat-button

* Update test.md

* Update test.md

* Update test.md

* Update style-guide.md

* Update style-guide.md

* Update style-guide.md

* Update style-guide.md

* Update style-guide.md

* code highlight fix
This commit is contained in:
Cody Clark
2018-09-13 15:45:54 -07:00
committed by k8s-ci-robot
parent ee35f4518d
commit 1a9b307b4e
3 changed files with 30 additions and 0 deletions
@@ -263,6 +263,29 @@ The output is:
**Warning:** Beware.
{{< /warning >}}
### Katacoda Embedded Live Environment
This button lets users run Minikube in their browser using the [Katacoda Terminal](https://www.katacoda.com/embed/panel).
It lowers the barier of entry by allowing users to use Minikube with one click instead of going through the complete
Minikube and Kubectl installation process locally.
The Embedded Live Environment is configured to run `minikube start` and lets users complete tutorials in the same window
as the documentation.
{{< caution >}}
**Caution:** The session is limited to 15 minutes.
{{< /caution >}}
For example:
```
{{</* kat-button */>}}
```
The output is:
{{< kat-button >}}
## Common Shortcode Issues
### Ordered Lists
+4
View File
@@ -346,3 +346,7 @@ To add shortcodes to includes.
{{< note >}}
{{< include "federation-current-state.md" >}}
{{< /note >}}
## Katacoda Embedded Live Environment
{{< kat-button >}}
+3
View File
@@ -0,0 +1,3 @@
<div id="my-panel" data-katacoda-ondemand="true" data-katacoda-env="minikube" data-katacoda-command="minikube version; minikube start" data-katacoda-ui="panel"></div>
<script src="https://katacoda.com/embed.js"></script>
<button class="button" onclick="window.katacoda.init(); ">Launch Terminal</button>