Skip to content

Commit b73f445

Browse files
committed
Add doc-level terminalRows
Signed-off-by: Sebastian (Tiedtke) Huckleberry <sebastiantiedtke@gmail.com>
1 parent ada884b commit b73f445

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

docs/configuration/document-level.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ These are the options specified in the front-matter that apply to all the cells
1111

1212
Can be specified in yaml, json, or toml on top of the document.
1313

14-
| Configuration | Description | Default value |
15-
| ------------- | ---------------------------------------- | ------------------------- |
16-
| cwd | Overwrites the default working directory | [Markdown file's basedir] |
17-
| shell | Overwrites shell with custom preference | [system/user default] |
18-
| skipPrompts | Bypasses interactive prompts | [system/user default] |
14+
| Configuration | Description | Default value |
15+
| ------------- | ---------------------------------------- | ---------------------------- |
16+
| cwd | Overwrites the default working directory | [Markdown file's basedir] |
17+
| shell | Overwrites shell with custom preference | [system/user default] |
18+
| skipPrompts | Bypasses interactive prompts | [system/user default] |
19+
| terminalRows | Number of terminal rows | 10 unless specificed in cell |
1920

2021
## Set Custom Shell
2122

@@ -49,3 +50,13 @@ cwd: ..
4950
cwd: /tmp
5051
---
5152
```
53+
54+
## Terminal Rows
55+
56+
To set the number of terminal rows to display in the notebook, you can use the `terminalRows` option in the front-matter config. Please note that this will override the default rows in the settings but won't override the rows set in the cell.
57+
58+
```
59+
---
60+
terminalRows: 20
61+
---
62+
```

0 commit comments

Comments
 (0)