Aditya Kadali
Aditya's Blog

Follow

Aditya's Blog

Follow

Markdown Cheat-sheet

Aditya Kadali's photo
Aditya Kadali
·Jul 23, 2022·

1 min read

Headers

h1, h2, h3, h4, h5, h6

# h1
## h2
### h3
#### h4
##### h5
###### h6

code and syntax highlighting

 Printing hello world => `print("hello world");`

we can use single ```` single back ticks to write inline code.

```
for i in range(1,10):
    print(i)
```

triple backticks are used to create a code block

Text styling

**This is bold text**
_This is italics_
**_This is bold italics_**
~~This is stikethrough~~

Lists

Ordered lists

1. This is ordered list
1. next item in ordered list
1. antother item

Unorderd list

- item 1
- item 2
    - sub-item1
    - sub-item2

Normal links

[link text](https://example.com "title")

Arbitrary links

[reference][case insensitive reference text]

Links with reference numbers mostly used in journals

[reference text][1]

In this number should be defined like
[1]:https://example.com

Images

![alt text](https://example.com/funnycatpic.png "Title of picture")

Blockquotes

> This is block quote
 
Share this