Contents

MarkDown overview

This is learning note for MarkDown

Heading 1

or

Heading 1

Heading 2

or

Heading 2

Italic and bold

italic or italic bold or bold italic and bold or italic and bold

Unordered list

  • line 1
  • line 2
  • line 3
    • sub 1
    • sub 2

or

  • line 1
  • line 2
  • line 3
    • sub 1
    • sub 2

Ordered list

  1. line 1
  2. line 2
    1. sub 1
    2. sub 2
  3. line 3

BlockQuotes

Use ‘>’ for a quotes

This is a quote.

All other syntax can use in quote

This is a nested quote Use ‘»’

Code block

Just on tab

<html>
  <head>
  </head>
</html>

Code

This is a code part function foo()

Escaping Tick Marks `function foo()`

1
2
3
int add(int a, int b){
    return a+b;
}
1
2
3
function add(a, b) {
    return a + b;
}
1
2
def add(self, a, b):
    return a+b

Table (For github)

apdffedafd2
adfsdapdf13
fadspdf113
fast1123

Here is the markdown table generator

Url and Email

haolinyang95@sina.com

https://www.markdownguide.org/basic-syntax/

This the official guide

Horizontal rule

---


===

Subscript element

H2O

Superscript element

E=MC2

Special sign using HTML (HTML symbol entity)

Website for all symbol entity Blog for HTML

± ± √ ⇒ ⇔ space:  

/images/markDownTutorial/specialSymbol.png

Website

Image

https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png
Logo Title Text 1
https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png
Logo Title Text 2

Write by Haolin Yang