Jupyter Notebook Viewer (original) (raw)
Jupyter notebooks are built out of cells. There are two primary types of cells: Markdown cells and Code cells. Textual content will be contained in Markdown cells like this one. Programming content will be contained in Code cells, like the 2+2 cell above.
If a cell has a green border, that means that you're currently editing it. If it has a blue border, that means that the cell is selected (and can be cut and pasted, etc.) but not in edit-mode. Otherwise it is not active.
To edit a Code cell, click anywhere within its evaluation box. For example, you can click inside the 2+2 cell, change the numbers to 2+3 and re-evaluate with shift-Enter.
To edit a Markdown cell like this one, double-click anywhere within its body. You can write Markdown just like any text document, for the most part. When you're done editing a Markdown cell, press shift-Enter.
To change a selected cell from Code to Markdown or back again, you should see a dropdown menu with "Markdown" or "Code" visible, just above your notebook interface. Just drop down to select the type of the cell. For practice, select the cell below to a Markdown cell, and write a sentence or two. Complete it with a shift-Enter.