Jupyter Notebook Markdown List



  1. Jupiter Notebook Markdown List 2020
  2. Jupyter Notebook Markdown Code Block
  3. Jupiter Notebook Markdown List Download
  4. Jupyter Notebook Markdown List Format

Jump to: Command Mode (press Esc to enable), Edit Mode (press Enter to enable)

See full list on tutorialspoint.com. In Markdown, you can list items using numbers, a +, a -, or a. However, if the first item in a list or sublist is numbered, Markdown will interpret the entire list as ordered and will automatically number the items linearly, no matter what character you use to denote any given separate item.

Enter

enter edit mode

Shift+­Enter

run cell, select below

Ctrl+Enter

run cell

Alt+Enter

run cell, insert below

Y

to code

M

to markdown

R

to raw

1

to heading 1

2,3,4,5,6

to heading 2,3,4,5,6

Up/K

select cell above

Down/J

select cell below

A/B

insert cell above/­below

X

cut selected cell

C

copy selected cell

Shift+V

paste cell above

V

paste cell below

Z

undo last cell deletion

D

delete selected cell

Shift+M

merge cell below

Ctrl+S

Save and Checkpoint

L

toggle line numbers

O

toggle output

Shift+O

toggle output scrolling

Esc

close pager

H

show keyboard shortcut help dialog

I

interrupt kernel

0

restart kernel

Space

scroll down

ShiftSpace

scroll up

Shift

ignore

Tab

code completion or indent

Shift+Tab

tooltip

Ctrl+]

indent

Ctrl+[

dedent

Ctrl+A

select all

Ctrl+Z

undo

Ctrl+S­hift+Z

redo

Ctrl+Y

redo

Ctrl+Home

go to cell start

Ctrl+Up

go to cell start

Ctrl+End

go to cell end

Ctrl+Down

go to cell end

Ctrl+Left

go one word left

Ctrl+Right

go one word right

Ctrl+B­ack­space

delete word before

Ctrl+D­elete

delete word after

Esc

command mode

Ctrl+M

command mode

Ctrl+S­hift+minus

split cell

Ctrl+S

Save and Checkpoint

Up

move cursor up or previous cell

Down

move cursor down or next cell

Ctrl+/

toggle comment on current or selected lines

Created by SarthakMenpara on 6/19/2017

0 Comments for 'Jupyter Notebook '

Learning Objectives

  • Launch and close a Jupyter Notebook session.
  • Navigate the Jupyter dashboard.
  • Create and open Jupyter Notebook files (.ipynb).

Launch Jupyter Notebook From the Terminal

Throughout this chapter, you will learn how to use Jupyter Notebook to write and document your Python code. First, you need to know how to open Jupyter Notebook, which is done in the Terminal.

It is ideal (but not required) to launch Jupyter Notebook from the working directory where all of the notebook files that you wish to use live, so you can easily access the files you need.

IMPORTANT: the jupyter notebook command requires that you have Jupyter Notebook installed on your computer! Jupyter Notebook was installed when you created the earth-analytics-python environment as a part of the setup for this textbook. Be sure to activate the environment in the terminal using the command conda activate earth-analytics-python before launching Jupyter Notebook.

Use Bash to Change to Your Working Directory

Begin by opening your terminal (i.e. Git Bash for Windows or the terminal on Mac or Linux).

Change the current working directory to your desired directory (e.g. earth-analytics under your home directory) using cd directory-name.You can then check that the current working directory has been updated (pwd).

Begin a Jupyter Notebook Session From the Terminal

Now you can start a new Jupyter Notebook session by typing the command jupyter notebook in the Terminal.

NOTE: If you get an error jupyter: command not found, this means that you have not activated the conda environment that you installed for this textbook. Be sure to activate the environment in the terminal using the command conda activate earth-analytics-python before running the jupyter notebook command.

When you type this command into the terminal, it will launch a local web server on your computer. This server runs the Jupyter Notebook interface.

You will notice that the Terminal is running commands to start your Jupyter Notebook session. Be sure to leave the Terminal open while you use Jupyter Notebook. It is running a local server for Jupyter Notebook so that you can interact with it in your web browser.

If your commands were successful, your default web browser will open with a new tab that displays your Jupyter Notebook dashboard.

Jupyter

The dashboard serves as a homepage for Jupyter Notebook. Its main purpose is to display the notebooks and files in the current directory.

Data Tip: While Jupyter Notebook looks like an online interface, when you launch it from the terminal, like you did in this lesson, it is actually running locally on our computer. You do not need an internet connection to run Jupyter Notebook locally.

Navigate Files Using the Jupyter Notebook Dashboard

To find files in the Jupyter Notebook dashboard, you can click on the name of a directory (e.g. ea-bootcamp-day-1), and the dashboard will update to show you the contents of the directory.

You can return to the parent directory of your current directory in the Jupyter Notebook session by clicking on the folder icon on the top menu bar.

Create New Jupyter Notebook Files

You can create new Jupyter Notebook files (.ipynb) from the dashboard.

On the top right of the dashboard, there are two buttons for Upload and New. Upload allows you to import an existing Jupyter Notebook file (.ipynb) that is not already in that directory.

You can create a new Python 3Jupyter Notebook file (.ipynb) by clicking on New and selecting Python 3. A new notebook will open a new tab in your web browser.

Open Jupyter Notebook Files

You can open existing Jupyter Notebook files (.ipynb) in the Jupyter Notebook dashboard by clicking on the name of the file in the dashboard (e.g. filename.ipynb).

Note: if you don’t see the Jupyter Notebook file (.ipynb) or directory that you are looking for, you may need to navigate to another directory in the dashboard (see above). You may also need to launch the Jupyter Notebook from a different directory.

Close Your Jupyter Notebook Session

Close and Shutdown Jupyter Notebook Files

Jupiter Notebook Markdown List 2020

To close your Jupyter Notebook files (.ipynb), you can close the browser tab displaying the notebook, but you still need Shutdown the notebook from the dashboard.

To Shutdown a Jupyter Notebook file (.ipynb), click in the checkbox to left of the filename. You will see an orange button named Shutdown appear in the top left of the dashboard menu; click on it to Shutdown any file that is checked in the list.

Jupyter Notebook Markdown Code Block

Shutdown the Jupyter Notebook Local Server

After all of your notebooks are closed and shut down, you can end your Jupyter Notebook session by clicking on the QUIT button at the top right of the dashboard. You can now close the browswer tab for Jupyter Notebook.

Jupiter Notebook Markdown List Download

If desired, you can also close your terminal by typing the command exit and hitting Enter.

Jupyter Notebook Markdown List Format

NOTE: You can also shutdown a Jupyter Notebook session by clicking in the Terminal window and clicking Ctrl+c. You will be asked to confirm that you want to Shutdown this notebook server (y/[n])?. Type y and hit Enter to confirm. Then, you can close the Terminal by typing the command exit and hitting Enter.