Callouts / Admonitions do not render latex in live preview

Steps to reproduce

Put a callout / admonition containing mathjax into a note:

>[!Proof]
>We clearly have that $a+b=c$, and thus that $$e^{i \pi}+1=0$$. **Q.E.D.**

and view it in live preview, while the cursor is inside the admonition.

Expected result

Live preview currently renders admonitions similarly to quote blocks while the cursor is inside them, so this should render something like this:

except without the %s around the [!Proof]

Actual result

Live preview renders it like this:

Note that now, neither the inline nor the display math are rendered as they are basically everywhere else in live preview. This makes it much harder to write technical notes, especially given that I use callout boxes for mathematical theorems.

Environment

  • Operating system: Windows 11
  • Debug info:
SYSTEM INFO:
	Obsidian version: v0.15.9
	Installer version: v0.15.9
	Operating system: Windows 10 Pro 10.0.22623
	Login status: logged in
	Catalyst license: none
	Insider build toggle: off
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: Minimal
	Snippets enabled: 1
	Restricted mode: on

RECOMMENDATIONS:
	Custom theme: for cosmetic issues, please first try updating your theme to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.

Additional information

We don’t support this. Please open a feature request.