DEV Community

Imamul I. nAyeem
Imamul I. nAyeem

Posted on • Updated on

Markdown Cheatsheet

1. First we've to save the file in .md extension

  1. Heading
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
Enter fullscreen mode Exit fullscreen mode

Preview:

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

  1. Italic
_Italic_
Enter fullscreen mode Exit fullscreen mode

Preview:
Italic


  1. strong/ bold
**strong/bond**
Enter fullscreen mode Exit fullscreen mode

Preview: strong/bond


  1. Strikethrough
~~strikethrough~~ 
Enter fullscreen mode Exit fullscreen mode

Preview: strikethrough


  1. Links
[Visit This Link](https://www.youtube.com/watch?v=bpdvNwvEeSE "Hover Title")
Enter fullscreen mode Exit fullscreen mode

Preview: Visit This Link


  1. Images
![Image Link](https://learncodeonline.in/gittwo.png "Hover Title")
Enter fullscreen mode Exit fullscreen mode

Preview: Image Link


  1. Highlight Code Part.
Print with this `Console.log('something')`
Enter fullscreen mode Exit fullscreen mode

Preview: Print with this Console.log('something')


  1. Hight code block(remove star signs)
 *```

js
    var age=30
    console.log(age)
 *

Enter fullscreen mode Exit fullscreen mode


Preview:


```js
    var age=30
    console.log(age)
Enter fullscreen mode Exit fullscreen mode

  1. Tables
 |Name|Age|Salary|
 |---|---|---|
 |Nayeem|30|999999|
Enter fullscreen mode Exit fullscreen mode

Preview:
|Name|Age|Salary|
|---|---|---|
|Nayeem|30|999999|

  1. Blockquote
 > Never Settle
Enter fullscreen mode Exit fullscreen mode

Preview:

Never Settle

  1. Unordered and Ordered List. Put Two Spaces for Tab space.
- One
- Two
1. One
2. Two
    1. One
    2. Two
Enter fullscreen mode Exit fullscreen mode

preview:

  • One
  • Two
  • One
  • Two
    1. One
    2. Two ***
  1. Horizontal Line (all 3 will work)
***
---
___
Enter fullscreen mode Exit fullscreen mode

Preview:




  1. Task list
<!-- Task List -->
* [x] Task 1
* [x] Task 2
* [ ] Task 3
Enter fullscreen mode Exit fullscreen mode

Preview:

  • [x] Task 1
  • [x] Task 2
  • [ ] Task 3

Acknowledgement

Top comments (0)