Blog — mattiasfest.in

7 object(s)

Math on this blog — mattiasfest.in

Math on this blog

This blog now supports math, rendered at build time to native MathML — no JavaScript, no images, no fonts shipped to you unless a page actually uses math.

How it works: posts are written with LaTeX in the markdown, and a small post-build step converts every formula into a native <math> element using Temml. Your browser renders it like any other text — selectable, accessible, and styled by CSS. Very 1998 in spirit: the server does the work, the client just displays a document.

Inline math like E=mc2 sits nicely in a sentence, and so does something with subscripts like xn+1=xnf(xn)f(xn).

Display math gets its own block:

x=b±b24ac2a

Even bigger stuff works, like matrices:

(cosθsinθsinθcosθ)(xy)=(xcosθysinθxsinθ+ycosθ)

And sums and integrals:

0ex2dx=π2n=11n2=π26

A regular code span like let x = 42; is left untouched, and so are fenced code blocks in other languages.

148 words

Modified: 2026-07-27

© 2026 Mattias

untitled.py - Python.exe

        

Ready

Python 3 (Pyodide)