Stack Exchange network consists of 178 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
The preview appears to be eating the first and last dollarsigns in double dollarsigned expressions hence causing displaystyle expressions to be ignored, e.g. see here
Example: The following equation is enclosed as $$…$$ and therefore centered in the actual answer.
But in preview it is left-justified.