Test

Some test example.

Level 1

Level 2

Level 3

Level 4

Level 5

Lists

  1. 1
  2. 2
  3. 3
  4. 4
  • 1
  • 2
  • 3
  1. 1
    • 1
    • 2
  2. 2

Math equation

\(f(x) = \int_0^1 g(x) \text{d}x\)

\[\frac{1}{1-x} = \sum_{n=0}^\infty x^n\]

Code Blocks

Use three backticks to show codes.

This is a python code.
1
2
3
4
5
def fac(n):
if n == 1:
return 1
else:
return n * fac(n-1)

Use codeblock to show codes.

1
2
3
4
5
6
7
{% codeblock lang:haskell This is a Haskell code. line_number:false %}
primes = filterPrime [2..]
where
filterPrime :: [Integer] -> [Integer]
filterPrime (p:xs) =
p : filterPrime [x | x <- xs, x `mod` p /= 0]
{% endcodeblock %}
This is a Haskell code.
primes = filterPrime [2..]
where
filterPrime :: [Integer] -> [Integer]
filterPrime (p:xs) =
p : filterPrime [x | x <- xs, x `mod` p /= 0]

(<|) infixl 5
(<|) = undefined

Tabs

This is Tab 1.

This is Tab 2.

This is Tab 3.

Notes

Info Header

Welcome to Hexo!

Warning Header

Welcome to Hexo!

Danger Header

Welcome to Hexo!

This is a summary

Details and summary (No icon)

Note with summary: note info no-icon This is a summary

Graph

graph TD
A[Hard] -->|Text| B(Round)
B --> C{Decision}
C -->|One| D[Result 1]
C -->|Two| E[Result 2]
stateDiagram
[*] --> Still
Still --> [*]
Still --> Moving
Moving --> Still
Moving --> Crash
Crash --> [*]