This post was created from the terminal with WP-CLI, then edited again from the terminal to add the two elements below — a live equation and a syntax-highlighted code block, both rendered by this blog’s existing plugins.
A little math, via the KaTeX plugin
Euler’s identity sits inline in the text: e^{i\pi} + 1 = 0. A display equation gets its own centered line:
\int_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt{\pi}
A little code, via Code Block Pro
And here is that Gaussian integral approximated numerically in Python:
# Gaussian integral, numerically
from math import exp, sqrt, pi
def integrate(f, a, b, n=100000):
h = (b - a) / n
return h * sum(f(a + i * h) for i in range(n))
print(integrate(lambda x: exp(-x * x), -10, 10))PythonCreated and edited entirely via WP-CLI on 2026-05-30. This is a test post and is safe to delete.
Leave a Reply