Working with Jupyter Notebook – Tips
Keys to Remember (Mac Keyboard)
ctrl + enter to run and stay in the same cell
shift + enter to run and move to next same cell
option + enter to run and create and move to next same cell down – Inseting a new cell in-between
dd to delete the cell
Edit Mode (Displayed in Green)
Command Mode (Displayed in Blue)
Commands
Note: All commands work when markdown option is chosen
There are six levels of heading font size available.
Run this command to get the below output
# Headers – total6 levels available – Note single Hash (#) is the largest of all.
After that try ## <text>, ### <text> and so on.
Output
Headers – total6 levels avaialable
Headers – total6 levels avaialable
Headers – total6 levels available
For creating a paragraph in Bold
Type the paragraph enclosed with 2 ** like below
**Paragraph – bold text – markdown format**
Output
Paragraph – bold text – markdown format
For creating A Paragraph in Italic
Type the paragraph enclosed with single underscore like below
_Paragraph – italic text – markdown format_
Output
paragraph – italic text – markdown format
Tips: To get a paragraph in Bold and Italic enclose the text like below:
**_Paragraph – bold text – markdown format _**
To create a paragraph with a new line like the one below, add 2 white spaces at the end where we need a new line.
Note: Without space, the paragraph gets displayed in 1 line
Output
paragraph with some this like this
that I wanted to see in the output.
But it has proper line breaks or not when I run this code.
The answer is No. i.e. All come in 1 line
Unordered List
Input Command
Un ordered List
* itema
* itemb
* itemc
Output
Un ordered List
- itema
- itemb
- itemc
Ordered List
Input Command
Un ordered List
1. itema
1. itemb
1. itemc
Output
List – Ordered
- itema
- itemb
- itema
Nested Level
Input Command
Nested Levels
* itema
1. item1
1. item
1. item2
1. another item
1. another item
* itemb
1. item1
1. item2
* item
* item
Output
Nested Levels
- itema
- item1
- item
- item2
- another item
- another item
- item1
- itemb
- item1
- item2
- item
- item
Adding URL
type the below after choosing the markdown option instead of the code
Input Command
Instead use Anchor link and the URL (i.e. URL hyperlinked) [my site](https://topguides.in)
Output – mysite has a working hyperlink
Instead use Anchor link and the URL (i.e. URL hyperlinked) my site