Widget: Katacoda
From Genesys Documentation
This widget allows you to add an embedded Katacoda course into your Wiki page. Katacoda is an opensource learning platform, which provides scripts to embed the terminal in our own pages.
Using this widget[edit source]
To use this widget, include the course number into the #widget parser syntax as the data-katacoda-id parameter.
Here is a sample #widget syntax:
{{#widget:Katacoda|divid=myScenario|scenario=docker/deploying-first-container}}
Result:
<p class="katacoda-caption><script src="//katacoda.com/embed.js"></script></p> <div id="myScenario" data-katacoda-id="docker/deploying-first-container" data-katacoda-color="004d7f" style="height: 600px; padding-top: 0px;"></div>
Available Parameters:
- scenario (mandatory): Katacoda scenario ID (including username and scenario name)
- divid (optional): Unique ID for the div containing your Katacoda scenario; defaults to value of the scenario parameter
- height (optional): Height for the div containing your Katacoda scenario; defaults to 600px
Using the widget[edit source]
To use this widget on your site, install MediaWiki Widgets extension and the copy full source code of this page to your wiki, as an article called Widget:Katacoda.