TL;DR: mathpix-markdown-it did not render LaTeX theorem environments (theorem, lemma, proof), which frustrated users pasting Mathpix OCR API output. After requests spanning two years, the maintainer announced theorem support with docs at doc/theorems.md in the repo. Update to a release that includes it and use the documented syntax.

## Steps

1. Update mathpix-markdown-it to a release containing theorem support.

2. Use the documented syntax from doc/theorems.md for theorem, lemma, proof, and other theorem-like environments.

   Expected: the environments typeset like they do in LaTeX documents. Success check: OCR output with theorems renders correctly.

## When to use this

- Theorem-like environments from Mathpix OCR output render as plain text.

## When NOT to use this

- General LaTeX rendering is broken; that is a different issue.
- You are on a release predating the feature; update first.

## Compatibility

- mathpix-markdown-it releases with theorem support (see repo doc/theorems.md).

## Variant phrasings

- "mathpix markdown theorem not rendering"
- "mathpix-markdown-it proof environment"

## Root cause

The renderer simply had no handling for theorem-like environments until the maintainer added it.

## Edge cases

- Older pinned versions will never render these; the feature only exists in newer releases.