You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Reference/configuration.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,13 @@
1
1
---
2
2
runme:
3
3
id: 01HG11HG1XY3V7DCQVQ32Q71ZZ
4
-
version: v2.0
4
+
version: v3
5
5
sidebar_position: 1
6
6
title: Options for Document and Cell
7
7
---
8
8
9
+
# Options for Document and Cell
10
+
9
11
Executing code and commands in Runme can be done either at the [Document level](../configuration/document-level) or the [Cell level](../configuration/cell-level). This page is a reference for both features.
This feature can be used to prevent [prompting](../configuration/document-level) when exporting an environment variable. By configuring the [cell options](../configuration/cell-level) appropriately, you can streamline your workflow and make your environment setup more efficient.
Copy file name to clipboardExpand all lines: docs/Reference/index.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,12 @@
1
1
---
2
+
runme:
3
+
id: 01HX525D99NZJ6YPEFFE36FGGG
4
+
version: v3
2
5
sidebar_position: 7
3
6
title: Reference
4
7
---
5
8
9
+
# Reference
6
10
7
11
In this reference section, we will cover a range of terms, commands, and flags used on Runme and a brief description of these terminologies to enable you to understand each term and how they are used.
Copy file name to clipboardExpand all lines: docs/configuration/archiving.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,13 @@
1
1
---
2
2
runme:
3
3
id: 01HGAP763P40ATQQN75RMGW6XJ
4
-
version: v2.0
4
+
version: v3
5
5
sidebar_position: 4
6
6
title: Archiving Feature
7
7
---
8
8
9
+
# Archiving Feature
10
+
9
11
The Runme archiving feature is a tidy-up tool for users. It allows you to hide outputs generated from Markdown cells to reduce clutter and preserve output for future reference. The archived files are securely stored in [Runme cloud](https://app.runme.dev/welcome) which can be accessible at any time.
10
12
11
13
On the Runme cloud, your data is encrypted both at rest and in transit, ensuring end-to-end security
Copy file name to clipboardExpand all lines: docs/configuration/auto-save.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,13 @@
1
1
---
2
2
runme:
3
3
id: 01HFRZ3233HSQ0NVJB9BE682G5
4
-
version: v2.0
4
+
version: v3
5
5
sidebar_position: 5
6
6
title: Auto-Save Feature
7
7
---
8
8
9
+
# Auto-Save Feature
10
+
9
11
Runme auto-save feature makes saving your outputs and progress easier. It is an effective way to manage your records and outputs throughout your deployment.
10
12
11
13
The Runme autosave feature automatically records and tracks every change and activity in your deployment process without manual intervention, so you can focus on your task and team collaboration without worrying about losing your outputs.
@@ -76,6 +78,3 @@ By default, session output is turned off, indicated by the autosave button at th
76
78
This action configures the system to automatically save the output of each cell execution.
77
79
78
80
> 💡 If you’re logged into the Cloud (prompt whenever Auto-Save is toggled on) cells will both be stored locally in a Session Outputs file and securely stored in your dashboard for later review or sharing with others. This is completely optional and if desired can be turned off (follow “Open Settings” in prompt).
Copy file name to clipboardExpand all lines: docs/configuration/cell-level.md
+13-15Lines changed: 13 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,13 @@
1
1
---
2
2
runme:
3
3
id: 01HFPW3ES358GNC1Z633JB8JYR
4
-
version: v2.0
4
+
version: v3
5
5
sidebar_position: 1
6
6
title: Cell-level Options
7
7
---
8
8
9
+
# Cell-level Options
10
+
9
11
When running code blocks or commands with Runme, you have two execution options: document-level or cell-level options.
10
12
11
13
The cell-level options allow you to run your Markdown file by cell rather than execute the entire file at once.
@@ -87,7 +89,7 @@ Take a look at more [examples](https://github.com/stateful/vscode-runme/tree/mai
87
89
88
90
</Infobox>
89
91
90
-
### **Specify Language in Blocks**
92
+
### **Specify Language in Blocks**
91
93
92
94
Runme, just like most Markdown viewers, will work best when a script's language is contained inside fenced code blocks.
93
95
@@ -117,7 +119,7 @@ While this works well in a lot of cases, the accuracy is not perfect.
117
119
118
120
</Infobox>
119
121
120
-
### **Handle long-running processes**
122
+
### **Handle long-running processes**
121
123
122
124
It is common to use file-watcher-enabled compilers/bundlers (e.g., `npm start dev`, `watchexec`, etc.) in the background during development.
123
125
For any cell containing an instance of these commands, tick the background cell setting. This will prevent execution from permanently blocking the notebook UX.
@@ -164,7 +166,7 @@ Please note that if both `cwd` is set for doc-level and cell, they don't overw
164
166
165
167
</Infobox>
166
168
167
-
### **Interactive vs non-interactive cells**
169
+
### **Interactive vs non-interactive cells**
168
170
169
171
If a cell's commands do not require any input from a reader it might be a good fit to include the cell's output inside the notebook. This is useful if the resulting output could be useful as input in a downstream cell. This is what `interactive=false` is for, and it defaults to *true*.
170
172
@@ -184,7 +186,7 @@ Please note that the Runme team is currently working on making output in both no
184
186
185
187
</Infobox>
186
188
187
-
### **Set environment variables**
189
+
### **Set environment variables**
188
190
189
191
If a cell has exported variables, the user will be prompted to set these variables. This can be useful to have a parameterized cell while not needing to manually modify the cell.
190
192
@@ -200,7 +202,6 @@ sleep $SLEEP_SECS
200
202
There are two prompt modes:
201
203
202
204
- Use a placeholder
203
-
204
205
- A prompt message.
205
206
206
207
Here's the difference:
@@ -223,7 +224,7 @@ export PROJECT_ID=Enter a valid project ID
223
224
cli make-call --project-id $PROJECT_ID describe
224
225
```
225
226
226
-
### **Terminal visibility post-execution**
227
+
### **Terminal visibility post-execution**
227
228
228
229
A cell's execution terminal is auto-hidden unless it fails. This default behavior can be overwritten if keeping the terminal open is in the interest of the Runme notebook reader. Just untick `closeTerminalOnSuccess` (`false`).
229
230
@@ -236,7 +237,7 @@ A cell's execution terminal is auto-hidden unless it fails. This default behavio
236
237
docker ps | grep runme/demo:latest
237
238
```
238
239
239
-
### **Human-friendly output**
240
+
### **Human-friendly output**
240
241
241
242
Not all cells’ output is plain text. For example, you can have JSON, text, images, etc, all in your Markdown file.
242
243
@@ -246,7 +247,7 @@ Using the `mimeType` specifier, you can specify the expected output type. Runm
246
247
247
248
See in the [reference page](../Reference/mime) for the list of supported MIME types!
248
249
249
-
### **Terminal Row**
250
+
### **Terminal Row**
250
251
251
252
On Runme outputs are saved in lines also known as rows. The number of lines or rows in which an output should be rendered is defined by a setting known as Terminal row.
252
253
Terminal row allows you to set the number of rows with which your output should be displayed under a cell.
@@ -270,7 +271,7 @@ We have provided a list of configuration settings to upgrade your experience usi
270
271
271
272
- Lastly, set the number of rows you wish your output to be rendered in.
272
273
273
-
### **Unnamed vs Named cells**
274
+
### **Unnamed vs Named cells**
274
275
275
276
On Runme cells are unnamed by default. However, you can name a cell directly in your notebook. This will enable you to easily identify the cell using the provided cell name. On the cell you wish to name, simply click on the “Add Name” button on the cell.
276
277
@@ -315,7 +316,7 @@ Take a look at more [examples](https://github.com/stateful/vscode-runme/tree/mai
315
316
316
317
</Infobox>
317
318
318
-
### **Exclude Cell from Run All**
319
+
### **Exclude Cell from Run All**
319
320
320
321
Every VS Code notebook allows users to run all available cells. This can be useful if you define a complete runbook in your Markdown file, allowing developers to click the **Run All** button to get set up and running.
321
322
@@ -330,8 +331,7 @@ However, sometimes certain cells should be excluded from this workflow. You can
330
331
# Do something optional here
331
332
```
332
333
333
-
334
-
### **Run All Cells by Category**
334
+
### **Run All Cells by Category**
335
335
336
336
If you have multiple workflows in a single Markdown file you can categorize them and allow your developers to run all cells by a certain category. To enable that you can add a category as a cell option. A cell can have one or multiple categories that are comma-separated.
337
337
@@ -348,5 +348,3 @@ If you have multiple workflows in a single Markdown file you can categorize them
0 commit comments