DEV Community

221910301001
221910301001

Posted on

Markdown in Jupyter

Markdown is a lightweight and popular Markup language which is a writing standard for data scientists and analysts. It is often converted into the corresponding HTML which by the Markdown processor which allows it to be easily shared between different devices and people.

Different types of Markdowns in Jupyter Notebook:

  • Headings
  • Blockquotes
  • Code section
  • Mathematical Symbol
  • Ordered List
  • Unordered List
  • Internal and External Link
  • Table
  • Image

Headings

The Headings starts with '#,' i.e., hash symbol followed by the space, and there are six Headings with the largest heading only using one hash symbol and the smallest titles using six hash symbols.

# (Header 1, title)

## (Header 2, major headings)

### (Header 3, subheadings)

#### (Header 4)

##### (Header 5)
Enter fullscreen mode Exit fullscreen mode

Alt Text

Blockquotes

Blockquotes can hold the large chunk of text and are generally indented. They can be obtained by using Markdown symbol '>'

">BLOCKQUOTES"
Alt Text

Code section

The Code section is the part that specifies the code of different programming languages and can be rendered where inline code starts with Alt Text
Alt Text

Mathematical Symbol

The mathematical symbol in Markdown is included in "$ mathematical expression goes here $" enclosed in a dollar symbol and in Markup you can follow this link for more detail: Mathematical Operators. You can see the example of using the mathematical symbols below.
"$\sqrt{k}$"
Alt Text

Ordered List

The Ordered List is the numbered list which is obtained by starting <ol> tag and ending with </ol> tag with the required item in between <li> and </li> tags. The tag, i.e., ol, is the short form for an ordered list and 'li' is the short form for the list item. For example, you can see the Ordered List below containing the item for the grocery list.

Alt Text
Alt Text

Unordered List

The Unordered list is a bullet list which is obtained by using the <ul> tag and ending with the </ul> tag, see the example below:
Alt Text
Alt Text

Bold and Italic Text

You can use <b> tags, ** i.e. 'double asterisk' or __ i.e. 'double underscore' to get bold text with the following syntax.
<b>This is bold text </b>

** This is bold text

__ This is bold text
Alt Text

Top comments (0)