Skip to content

Commit 003f553

Browse files
authored
Merge pull request #2313 from takluyver/i2304
Use Markdown image references in example notebook
2 parents 94122d6 + 9f8158a commit 003f553

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

docs/source/examples/Notebook/Notebook Basics.ipynb

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"source": [
2121
"When you first start the notebook server, your browser will open to the notebook dashboard. The dashboard serves as a home page for the notebook. Its main purpose is to display the notebooks and files in the current directory. For example, here is a screenshot of the dashboard page for the `examples` directory in the Jupyter repository:\n",
2222
"\n",
23-
"<img src=\"images/dashboard_files_tab.png\" width=\"791px\"/>"
23+
"![Jupyter dashboard showing files tab](images/dashboard_files_tab.png)"
2424
]
2525
},
2626
{
@@ -31,7 +31,7 @@
3131
"\n",
3232
"To create a new notebook, click on the \"New\" button at the top of the list and select a kernel from the dropdown (as seen below). Which kernels are listed depend on what's installed on the server. Some of the kernels in the screenshot below may not exist as an option to you.\n",
3333
"\n",
34-
"<img src=\"images/dashboard_files_tab_new.png\" width=\"202px\" />"
34+
"![Jupyter \"New\" menu](images/dashboard_files_tab_new.png)"
3535
]
3636
},
3737
{
@@ -42,7 +42,8 @@
4242
"\n",
4343
"The notebook list shows green \"Running\" text and a green notebook icon next to running notebooks (as seen below). Notebooks remain running until you explicitly shut them down; closing the notebook's page is not sufficient.\n",
4444
"\n",
45-
"<img src=\"images/dashboard_files_tab_run.png\" width=\"777px\"/>"
45+
"\n",
46+
"![Jupyter dashboard showing one notebook with a running kernel](images/dashboard_files_tab_run.png)"
4647
]
4748
},
4849
{
@@ -51,7 +52,7 @@
5152
"source": [
5253
"To shutdown, delete, duplicate, or rename a notebook check the checkbox next to it and an array of controls will appear at the top of the notebook list (as seen below). You can also use the same operations on directories and files when applicable.\n",
5354
"\n",
54-
"<img src=\"images/dashboard_files_tab_btns.png\" width=\"301px\" />"
55+
"![Buttons: Duplicate, rename, shutdown, delete, new, refresh](images/dashboard_files_tab_btns.png)"
5556
]
5657
},
5758
{
@@ -60,7 +61,7 @@
6061
"source": [
6162
"To see all of your running notebooks along with their directories, click on the \"Running\" tab:\n",
6263
"\n",
63-
"<img src=\"images/dashboard_running_tab.png\" width=\"786px\" />\n",
64+
"![Jupyter dashboard running tab](images/dashboard_running_tab.png)\n",
6465
"\n",
6566
"This view provides a convenient way to track notebooks that you start as you navigate the file system in a long running notebook server."
6667
]
@@ -112,7 +113,7 @@
112113
"source": [
113114
"Edit mode is indicated by a green cell border and a prompt showing in the editor area:\n",
114115
"\n",
115-
"<img src=\"images/edit_mode.png\">\n",
116+
"![Jupyter cell with green border](images/edit_mode.png)\n",
116117
"\n",
117118
"When a cell is in edit mode, you can type into the cell, like a normal text editor."
118119
]
@@ -139,7 +140,7 @@
139140
"source": [
140141
"Command mode is indicated by a grey cell border with a blue left margin:\n",
141142
"\n",
142-
"<img src=\"images/command_mode.png\">\n",
143+
"![Jupyter cell with blue & grey border](images/command_mode.png)\n",
143144
"\n",
144145
"When you are in command mode, you are able to edit the notebook as a whole, but not type into individual cells. Most importantly, in command mode, the keyboard is mapped to a set of shortcuts that let you perform notebook and cell actions efficiently. For example, if you are in command mode and you press `c`, you will copy the current cell - no modifier is needed."
145146
]
@@ -175,7 +176,7 @@
175176
"source": [
176177
"All navigation and actions in the Notebook are available using the mouse through the menubar and toolbar, which are both above the main Notebook area:\n",
177178
"\n",
178-
"<img src=\"images/menubar_toolbar.png\" width=\"786px\" />"
179+
"![Jupyter notebook menus and toolbar](images/menubar_toolbar.png)"
179180
]
180181
},
181182
{
@@ -245,9 +246,9 @@
245246
"name": "python",
246247
"nbconvert_exporter": "python",
247248
"pygments_lexer": "ipython3",
248-
"version": "3.5.1"
249+
"version": "3.5.2"
249250
}
250251
},
251252
"nbformat": 4,
252-
"nbformat_minor": 0
253+
"nbformat_minor": 1
253254
}

0 commit comments

Comments
 (0)