Understand Clipboard Integration

Step 1

The following will copy the text into the clipboard. This is useful if users need to interactive with a web UI.

docker{{copy}}

docker

Katacoda supports copying code snippets or longer text into the clipboard by adding the attribute data-target.

Copy Me To The Clipboard!!

Note Without the class="file" it will not display the clipboard functionality. For example: