To add a math element in text, simply surround it by double dollar marks $$\sqrt{x}$$, and it will automatically convert it to look like this: .
$$\sqrt{x}$$