Skip to content

Commit 4751138

Browse files
authored
fix: issue in example causing the block to not render (#56)
This really tripped me up for a while, so I hope this can help someone else. If the `true` is not quoted in `show_source: "true"`, the whole block just refuses to render, and is interpreted as text.
1 parent 935dce7 commit 4751138

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docs/getting-started/blocks.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,13 +189,14 @@ def __():
189189
### marimo-embed-file
190190

191191
The `marimo-embed-file` block is used to embed existing marimo files:
192-
192+
```
193193
/// marimo-embed-file
194194
filepath: getting-started/inlined.py
195195
height: 600px
196196
mode: read
197-
show_source: true
197+
show_source: "true"
198198
///
199+
```
199200

200201
| Option | Description | Default |
201202
| --- | --- | --- |

0 commit comments

Comments
 (0)