This page checks math blocks and fenced math blocks in Astro 7.

Inline math should render inside the sentence: .

The quadratic formula should render as a display equation:

An aligned derivation should keep its line breaks:

A fenced math block should remain outside Shiki highlighting:

A normal JavaScript block should still use Shiki:

const energy = (mass, speedOfLight) => mass * speedOfLight ** 2;