Markdown Basics

Markdown cheat sheet

Text Formatting

This is how to do bold text.
This is how to do italic text.
You can also do bold like this.
You can also do italic like this.

This is how to make a blockquote

For a full description of the markdown syntax, visit this page

Lists

Unordered lists:

  • item 1
  • item 2
  • item 3

Ordered lists:

  1. hello
  2. world

Nested lists

  • a
    • b
    • c
  • d

Python Code

1
2
print("hello world")
print("Hi!")

C Code

1
cout << "hello world"

Bash Code

1
$ hexo new "My New Post"

This is an H1

here’s a quote block:

quoting…

This is an H2

Switching to another row only
requires an emplty row in between or adding two spaces in the end.

This is an H3

 An indentation requires “&emsp;”.

This is an H4

Inserting images:

test

This is an H5

Adding footnot requires1
Inline footnote2

This is an H6

This is a test for width………………………………………………………………………………………………………………………………………………………………………………


  1. 1.test1
  2. 2.test2