This is an example of Katacoda's clipboard integration.
The following will copy the text into the clipboard. This is useful if users need to interactive with a web UI.
Within the Markdown step, you would write:
Katacoda supports copying code snippets or longer text into the clipboard by adding the attribute
Copy Me To The Clipboard!!
This is created by embedded HTML into the Markdown.
<pre class="file" data-target="clipboard"> Copy Me To The Clipboard!! </pre>
Note Without the class="file" it will not display the clipboard functionality. For example:
Not a file
This was created by the HTML:
<pre data-target="clipboard"> Not a file </pre>