Add math preview

Fix #103