Skip to content

Commit 09d7beb

Browse files
authored
Updated content of function
1 parent d0aea00 commit 09d7beb

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

documentation/Functions.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -571,9 +571,9 @@ Note: The title should never be empty and it is of type string.
571571
displayContent("Step title", [{ "file": "files/description.asciidoc" }, { "content": "This is just plain content." }, { "image": "files/image.png" }])
572572

573573
#### Details
574-
You can use 3 attributes in the JSON objects array in 2nd parameter:
574+
You can use 3 attributes in the JSON objects array in second parameter:
575575

576-
parameter-II = [{1st attribute}, {2nd attribute}, {3rd attribute}]
576+
Second-parameter = [{1st attribute}, {2nd attribute}, {3rd attribute}]
577577

578578
* 1st attribute i.e. "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.
579579

@@ -607,6 +607,10 @@ Link:
607607
The tutorials repository can be found https://github.com/devonfw-tutorials/tutorials/issues[here].
608608
```
609609

610+
Note:
611+
612+
1. You should avoid using any command inside any text file for which you want to display content. This will cause problems with the console runner and the tests.
613+
610614
***
611615

612616
### adaptTemplatesCobiGen <a name="adaptTemplatesCobiGen"></a>

0 commit comments

Comments
 (0)