To create equations, expressions, etc. within Nectir, use KaTeX (our version of LaTeX).
Here is a list of supported functions and how to type them: https://katex.org/docs/supported.html.
Make sure they are surrounded on either side by "$$" before you send your message. This will allow it to appear in proper KaTeX form.