How to ensure long math equation can break across pages?

$
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
  #lorem(20) \
$

This occurs because Typst does not wrap or paginate formulas. The example is extreme, but if the formula is in the grid it will cause content to overflow, thus confusing typography. If at the end of the page, it will automatically jump to the next page.

You can fix the page breaking by adding this rule before the equation. Then Typst is allowed to pagebreak the equation:

#show math.equation: set block(breakable: true)