Inserting Formulas and Code Snippets in Posts and Comments