Skip to content

Latest commit

 

History

History
202 lines (170 loc) · 2.94 KB

cheatsheet.md

File metadata and controls

202 lines (170 loc) · 2.94 KB

Comments

<!-- This is comment -->


Horizontal Line

---


Headings

# Heading 1
## Heading 2
### Heading 3
##### Heading 4
###### Heading 5
####### Heading 6

Output:

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6


Normal Text

This is normal text


Text Formatting

1. Italics :

_Italic Text should be wrapped with single underscores_
*Italic Text can also be wrapped with single asterisks*

Output :

Italic Text can also be wrapped with single asterisks


2. Bold Text :

**Bold Text should be wrapped with double asterisks**
__Bold Text can also be wrapped with double underscores__

Output :

Bold Text should be wrapped with double asterisks


3. Strike-Through Text :

~~Strike-Through Text should be wrapped with double tildes~~

Output :

Strike-Through Text should be wrapped with double tildes


4. Block-Quotes :

> A Block-Quote should start with a greater than sign (>)

Output :

> A Block-Quote should start with a greater than sign (>)



Lists

1. Unordered Lists

* Item 1
* Item 2
* Item 3
    * Nested Item 1
    * Nested Item 2

Output :

  • Item 1
  • Item 2
  • Item 3
    • Nested Item 1
    • Nested Item 2

2. Ordered Lists

1. Item 1
2. Item 2
3. Item 3
    1. Nested Item 1
    2. Nested Item 2

Output :

  1. Item 1
  2. Item 2
  3. Item 3
    1. Nested Item 1
    2. Nested Item 2


Code :

1. Inline Code

   * For inline code, we wrap the code in back-ticks (``)

2. Code Blocks

    ```
    function greetUser(){
        console.log('Hello User');
    }
    ```

Output :

    funtion greetUser(){
        console.log('Hello User');
    }

3. Diff :

    ``` diff
    + add it
    - delete it

Output :

  • + add it
    - delete it


Insering Images :

![display_name](path "alternate_text")

Plants



Creating Links :

[display_name](url "link_text")


Tables :

|    Character   |  Anime |
|    :-------:   |  :---: |
|   Eren Yeager  |   AOT  |
| Naruto Uzumaki | Naruto |

Output :


Character Anime
Eren Yeager AOT
Naruto Uzumaki Naruto


Task Lists :

- [ ] This task is incomplete
- [x] This task is complete
  • This task is incomplete
  • This task is complete