Skip to content

Instantly share code, notes, and snippets.

@shrestharikesh
Created November 22, 2021 16:15
Show Gist options
  • Save shrestharikesh/dd58ec3355fca0cbaf9885876f111bf6 to your computer and use it in GitHub Desktop.
Save shrestharikesh/dd58ec3355fca0cbaf9885876f111bf6 to your computer and use it in GitHub Desktop.
markdown Cheatsheet

Heading level 1

Heading level 2

Heading level 3

Heading level 4

Heading level 5
Heading level 6

Multiple Lines Heading level 1

Multiple Lines Heading level 2

Line Breaks

This is the first line for line break example.
And this is the second line.

Bold

I just love bold text. I just love bold text. Loveisbold

Italic

Italicized text is the cat's meow. Italicized text is the cat's meow. Acatmeow

Bold & Italic

This text is really important. This text is really important. This text is really important. This text is really important. This is reallyveryimportant text.

Blockquotes

Dorothy followed her through many of the beautiful rooms in her castle.

Blockquotes with multiple lines

Dorothy followed her through many of the beautiful rooms in her castle.

The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood

Nested Blockquotes

Dorothy followed her through many of the beautiful rooms in her castle.

The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.

Blockquotes with other elements

The quarterly results look great!

  • Revenue was off the chart.
  • Profits were higher than ever.

Everything is going according to plan.

Orderd Lists

Style 1

  1. First item
  2. Second item
  3. Third item
  4. Fourth item

Style 2

  1. First item
  2. Second item
  3. Third item
  4. Fourth item

Style 3

  1. First item
  2. Second item
  3. Third item
  4. Fourth item

Style 4 with multilevel lists

  1. First item
  2. Second item
  3. Third item
    1. Indented item
    2. Indented item
  4. Fourth item

Unordered Lists

Style 1

  • First item
  • Second item
  • Third item
  • Fourth item

Style 2

  • First item
  • Second item
  • Third item
  • Fourth item

Style 3

  • First item
  • Second item
  • Third item
  • Fourth item

Style 4 with miltilevel lists

  • First item
  • Second item
  • Third item
    • Indented item
    • Indented item
  • Fourth item

Starting Unordered List Items With Numbers

  • 1968. A great year!
  • I think 1969 was second best.

Lists with paragraph

  • This is the first list item.

  • Here's the second list item.

    I need to add another paragraph below the second list item.

  • And here's the third list item.

List with bockquotes

  • This is the first list item.

  • Here's the second list item.

    A blockquote would look great below the second list item.

  • And here's the third list item.

Code blocks

  <html>
    <head>
      <title>Test</title>
    </head>
  </html>

Images

Tux, the Linux mascot

Horizontal Rules




Links

My favorite search engine is Duck Duck Go.

Adding Titles

My favorite search engine is Duck Duck Go.

URLs and Email Addresses

https://www.markdownguide.org fake@example.com

Formatting Links

I love supporting the EFF. This is the Markdown Guide. See the section on code.

Adding Links to Image

An old rock in the desert

Escaping Characters

* Without the backslash, this would be a bullet in an unordered list.

HTML

This word is bold. This word is italic generated with HTML tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment