You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. An array of json objects with files, content, or images to be rendered within the katacoda step.
355
+
2. An array of json objects with files, content, or images to be rendered within the katacoda step. The use for this function is to display an image and some descriptive text. No Katacoda Syntax is allowed in the files or the content!
356
356
3. (Optional) Path to the current directory where the user is located (relative to the workspace directory). Only needed if the directory is changed within this step.
357
357
#### example
358
-
nextKatacodaStep("Step title", [{ "file": "files/description.md" }, { "content": "This is just plain content." }, { "image": "files/image.png" }])
358
+
display("Step title", [{ "file": "files/description.asciidoc" }, { "content": "This is just plain content." }, { "image": "files/image.png" }])
359
359
360
360
#### Details
361
361
Available attributes in the json objects:
362
362
363
-
file: Path to a file whose content is to be displayed in the katacoda step (e.g. .md or .txt file).
364
-
content: Plain text to be displayed in the katacoda step.
363
+
file: Path to a file whose content is to be displayed in the katacoda step (e.g. .asciidoc or .txt file). The file should be following the formating of asciidoc files. additional formating information.
364
+
content: Plain text to be displayed in the katacoda step. This Text should be following the formating of markdown or asciidoc // Todo
365
365
image: Path to an image to be displayed in the katacoda step.
0 commit comments