Notes

Code

Notes on building things.

Rendering Mathematics at Build Time

CodeMathematics

Typesetting mathematics in the browser costs about a megabyte of JavaScript and shows the reader raw TeX until it finishes. Doing it at build time costs nothing at all.

The catch is that equation numbering is document-scoped, so the whole article has to be rendered in one pass.

Continue reading →

On Typography

Code

A page of text has only a few decisions in it: the family, the measure, the leading, and the restraint to stop there.

Everything else — boxes, cards, shadows, accent colours — is a substitute for having made those four well.

Continue reading →