Cheatsheet on Markdown

Cheatsheet on Markdown

What is markdown?

Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid HTML.

Basic Syntax:

  • Headings:

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

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
  • Bold:

    **Bold** 
    or
    __Bold__
    

    Bold

  • Italic:

    *Italic*
    or
    _Italic_
    

    Italic

  • Strikethrough:

    ~~999~~ 699
    
  • Codesnippet:

      <div class="btn-wrapper">
        <button class="btn">
          <span class="btn-text-one">Explore More</span>
          <span class="btn-text-two">It's Interesting</span>
    
  • Code:

    `code`
    

    code

  • [LINK](https://google.com)
    

    Link

  • Image:

    ![LCO](https://learnyst-user-assets.s3.ap-south-1.amazonaws.com/school-assets/schools/2410/schoolLogo/1657573685244Custom%20Size%20%E2%80%93%201.png)
    

    LCO

  • Table:

    | Syntax | Description |
    | ----------- | ----------- |
    | Header | Title |
    | Paragraph | Text |
    
SyntaxDescription
HeaderTitle
ParagraphText
  • Blockquote:

    >Learncodeonline
    

    Learncodeonline

  • Highlight:

    I need to highlight these <mark>very important words<mark>.
    

    I need to highlight these very important words.

  • List:

Unordered List:

1. One
2. Two
3. Three
  1. One
  2. Two
  3. Three

Ordered List:

* One
* Two
* Three
  • One
  • Two
  • Three