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))Created and edited entirely via WP-CLI on 2026-05-30. This is a test post and is safe to delete.
Update: now published from the wordpress skill
This section was appended on 2026-07-09 by the Claude Code wordpress skill — the original ad-hoc WP-CLI folder that created this post was migrated into a reusable skill, and this edit is its first end-to-end test. Backslashes still survive the round trip: \nabla \cdot \vec{E} = \dfrac{\rho}{\varepsilon_0}, and so does a display equation:
\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}
Leave a Reply