Can you use $\mathrm{\LaTeX}$ commands in hashtags? #$\forall{}x\in\mathbb{R}$

It looks like the answer is

@mscroggs The interaction between $\LaTeX$ and hashtags could be ... interesting. Not surprised it doesn't work.

@mscroggs I bet a sufficiently motivated person could make it work by modifying the hashtag regex github.com/tootsuite/mastodon/

A Mastodon instance for maths people. The kind of people who make $\pi z^2 \times a$ jokes.

Use $ and $ for inline LaTeX, and $ and $ for display mode.