Skip to content

Commit 34cf05a

Browse files
committed
add better formatting for bash commands
1 parent 2304e36 commit 34cf05a

1 file changed

Lines changed: 6 additions & 14 deletions

File tree

episodes/instance-segmentation-and-measurements.md

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ assembled within Napari if you prefer.
4343

4444
### 1. Activate your Napari environment
4545
Open Miniforge Prompt and activate the environment you created for Napari:
46-
```
46+
``` bash
4747
activate napari-env
4848
```
4949
### 2. Create and navigate to your workshop folder
5050
It is best practice to keep all your project files together in a dedicated folder.
51-
```
51+
``` bash
5252
# Create a folder
5353
mkdir napari-workshop
5454

@@ -59,30 +59,22 @@ Everything you create in JupyterLab will be saved inside this folder.
5959

6060
### 3. Launch JupyterLab
6161
Start JupyterLab from inside the napari-workshop folder:
62-
```
62+
``` bash
6363
jupyter lab
6464
```
6565
The JupyterLab interface should appear in a browser window.
6666

6767
### 4. Create a new notebook
68-
In the JupyterLab Launcher, select:
69-
70-
Notebook → Python 3 (ipykernel)
68+
In the JupyterLab Launcher, **select: Notebook > Python 3 (ipykernel)**
7169

72-
This will open a new Python notebook
73-
74-
for example "instance_segmentation"
70+
This will open a new Python notebook.
7571

7672
### 5. Name your notebook
7773
Renaming your notebook immediately helps keep your workflow tidy and makes it easier to find later.
7874

7975
Right click the default name at the top of the notebook tab (e.g., *Untitled.ipynb*).
8076

81-
Enter a meaningful name, for example:
82-
83-
```
84-
instance_segmentation.ipynb
85-
```
77+
Enter a meaningful name, for example: *instance_segmentation.ipynb*.
8678

8779
## About notebooks
8880
A notebook is made up of building blocks called **cells**.

0 commit comments

Comments
 (0)