Test post
January 2, 2020
This is a sample post to test the appearance and layout. This site is created using the static site generator Hugo
Syntax highlighting #
Here is a code block with syntax highlighting using Chroma
def fib(n):
a, b = 0, 1
while a < n:
print(a, end = ' ')
a, b = b, a+b
print()
fib(1000)
Math rendering #
Math is rendered using KaTeX. This is an inline expression: $\textcolor{#228B22}{e^{i \theta} = \cos \theta + i \sin \theta}$
And below is a display mode expression:
$$e^z = \lim_{n \to \infty} \left(1 + \frac{z}{n} \right)^n$$