Currently, the codecogs API is used for displaying math however it is not aligned properly with the text.