Skip to content

Commit 287a6d2

Browse files
authored
fix implicit display documentation (#868)
closes #864
1 parent 3c1f883 commit 287a6d2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/getting-started.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,11 @@ This looks like:
385385
<figcaption>Using <code>FileAttachment</code> to load data.</figcaption>
386386
</figure>
387387

388-
The built-in [`display`](./javascript/display) function displays the specified value, a bit like `console.log` in the browser’s console. As you may have noticed above with <code class="language-js">1 + 2</code>, `display` is called implicitly when a code block contains an expression.
388+
The built-in [`display`](./javascript/display) function displays the specified value, a bit like `console.log` in the browser’s console. As you can see below, `display` is called [implicitly](./javascript/display#implicit-display) when a code block contains an expression:
389+
390+
```js echo
391+
1 + 2
392+
```
389393

390394
For convenience, here’s a copy of the data so you can explore it here:
391395

0 commit comments

Comments
 (0)