Skip to content

Commit 6bb0055

Browse files
authored
Display hello.js file as we do other files (#306)
1 parent f05e265 commit 6bb0055

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/topics/using-containers.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,10 @@ used a container called `node:slim`.
5252
Provide a "hello.js" and invoke `cwltool` providing the tool description and the
5353
input object on the command line:
5454

55-
```{code-block} console
56-
$ echo "console.log(\"Hello World\");" > hello.js
55+
```{literalinclude} /_includes/cwl/using-containers/hello.js
56+
:language: javascript
57+
:caption: "`hello.js`"
58+
:name: hello.js
5759
```
5860

5961
```{runcmd} cwltool docker.cwl docker-job.yml

0 commit comments

Comments
 (0)