To enable LaTeX rendering in the Element desktop client, you need to enable the "Labs" experimental features and then specifically enable the LaTeX rendering option. Here's how you can do it:
- Open Element desktop.
- Go to Settings > Labs.
- Enable the "Render LaTeX maths in messages" option.
Once enabled, you can use LaTeX in your messages by wrapping your math expressions with single dollar signs ($...$) for inline math or double dollar signs ($$...$$) for block math.
This feature uses KaTeX under the hood to render the LaTeX expressions directly in your messages.