Post thumbnail

How to write in proper way in markdown editor like jupyter nootbook?.


Markdown is a lightweight markup language for creating formatted text using a plain-text editor. It is widely used for formatting readme files, for writing messages in online discussion forums, and to create rich text using a plain text editor.

Basic Elements


Headers are created using the # symbol. The number of # symbols denotes the level of the header.

# Header 1
## Header 2
### Header 3
#### Header 4
##### Header 5
###### Header 6


Emphasis can be added using * or _ for italics, and ** or __ for bold.

*italic* or _italic_
**bold** or __bold__
***bold and italic*** or ___bold and italic___

There are two types of lists in Markdown: ordered and unordered.

Unordered List

- Item 1
- Item 2
  - Subitem 1
  - Subitem 2

Ordered List

1. Item 1
2. Item 2
   1. Subitem 1
   2. Subitem 2

Links can be created using square brackets [] for the link text and parentheses () for the URL.


Images are similar to links, but they start with an exclamation mark !.

![Alt text](https://www.example.com/image.jpg)

Inline Code

Here is some `inline code`.

Code block

Example - Python Code

def hello_world():
    print("Hello, world!")

Example - Python code with label

### Rendered Output
def hello_world():
    print("Hello, world!")

This method ensures that the code is properly indented and highlighted according to the specified programming language.


Blockquotes are created using the > symbol.

> This is a blockquote.

Horizontal Rule

A horizontal rule can be created using three or more dashes ---, asterisks ***, or underscores ___.

Intermediate Elements


Tables can be created using pipes | and dashes - to separate the headers and rows.

| Header 1 | Header 2 |
| Row 1    | Data     |
| Row 2    | Data     |

Task Lists

Task lists are created using - [ ] for unchecked items and - [x] for checked items.

- [ ] Task 1
- [x] Task 2

Inline HTML

You can use inline HTML for elements not supported by Markdown.

<strong>This is bold text using HTML</strong>
Advanced Elements


Footnotes can be created using [^1] to denote the footnote and [^1]: to define it.

Here is a footnote reference[^1].

[^1]: Here is the footnote.

Definition Lists

Definition lists are a way to group terms and descriptions.

: Definition


Strikethrough text can be created using ~~.

~~This text is struck through.~~

Emoji 🥸

You can add emojis using :emoji_name: syntax.

I :heart: Markdown.

Syntax Highlighting

Many Markdown parsers support syntax highlighting in code blocks.

def hello_world():
    print("Hello, world!")


Sample yaml : Just look what is this written here ?😮   that is readme.md .

### GitHub Flavored Markdown (GFM)
GFM adds some additional features like task lists, tables, and strikethrough.

## Conclusion
Markdown is for formatting text in a simple and readable way. 
By mastering these elements, you can create well-structured and visually appealing 
documents, readme files, and more 📃📃.


Make sure to visit again 🥸🐈


And that's it. Now Go ahead and practice a little more and you are good to go 🚗.

Also, make sure to share this among your colleges 🔗. 

• • •

Latest Opinions

No Opinion so far...


No internet connection

Trying to reconnect...