The ultimate Markdown cheat sheet for VS code editor.

The ultimate Markdown cheat sheet for VS code editor.

What is Markdown?

Markdown is a plain text formatting syntax for writers. It allows you to quickly write structured content for the web, and have it seamlessly converted to clean, structured HTML.

Headings-

Hash character (#) is used make headings.

Markdown Syntax-

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

Output-

Screenshot 2022-07-23 234908.png

Bold

Two asterisk characters (**) are used to before and after the text, or we can also use underscores (your text).

Markdown Syntax-

      **This text is bold**
      __This text is bold__

Output-

Screenshot 2022-07-23 235734.png

Italic

Use single asterisk (*) or single underscore(_) before and after your text.

Markdown Syntax-

    *This is Italic*
    _This is Italic_

Output-

Screenshot 2022-07-24 000233.png

Lists

For ordered list use number and dot(.) before your list items and for unordered list use hyphen (-) before your list items.

Markdown Syntax-

       1. ordered list item one 
       2. ordered list item two 
       3. ordered list item three
             1.order sub list item one
             2.ordered sub list item two

       - unordered list item one
       - unordered list item two
       - unordered list item three
            - unordered sub list item one
            - unordered sub list item two

Output-

Screenshot 2022-07-24 080121.png

Blockquote

Use > symbol before your quote text.

Markdown Syntax-

  > main blockquote text
  >> nested blockquote text

Output-

Screenshot 2022-07-24 080934.png

Code

Use three backtick symbols (```) before and after your code.

Markdown Syntax-

     ```
     {
        "title":"iPhone 13 Pro",
        "price":"100000",
        "color":"Blue",
      }
 ```

Output-

Screenshot 2022-07-24 082001.png

Strikethrough

Use two tilde symbol (~~) at start and end of your text.

Markdown Syntax-

        ~~strikthrough~~

Output-

Screenshot 2022-07-24 082718.png

Link

Markdown Syntax-

   [Link](https://www.google.com)

Output-

Screenshot 2022-07-24 083154.png

Images

In VS code PNG format is most preferred image format, but we can't resize images in vs code.

Markdown Syntax-

   ![image](https://cdn.pixabay.com/photo/2021/08/04/13/06/software-developer-6521720_1280.jpg)

Output-

Screenshot 2022-07-24 085016.png

Task List

For creating a task list , use hyphen (-) followed by space and then use square brackets [] and x in square brackets.

Markdown Syntax-

  - [x] Write the press release
  - [ ] Update the website
  - [ ] Contact the media

Output-

Screenshot 2022-07-24 085759.png

Table

Markdown Syntax-

     | Syntax | Description |
     | ----------- | ----------- |
     | Header | Title |
     | Paragraph | Text |

Output-

Screenshot 2022-07-24 090021.png