This website is not associated with the official typst company. Check out their official web
editor here.
References
Math mode
By default the editor runs on Math mode. Which means the typst inserted is automatically surrounded by $..$ under the hood.
You can disable/enable Math mode here: