For any mathematical equations I will make sure to use $$ syntax without newlines for example $$x+5=10$$.