Initial Post with Tests on Code Block, LaTeX, Three.js

This is an example post to demonstrate the media formats that can be posted on this website. For details about implementations, see How this blog is built

LaTeX math typesetting

Let’s type some math inline $E = mc^2$, and then some math blocks with KaTeX: $$ \ket{0}=\begin{pmatrix} 1 \\ 0 \end{pmatrix} $$ For example, the famous Shrodinger’s equation: $$ H(t)|\psi(t)\rangle=i \hbar \frac{\partial}{\partial t}|\psi(t)\rangle $$

Code Blocks with copy to clipboard

Now some code:

print("hello world")

Add a Three.js Canvas using Hugo short code

Add an image using Hugo short code