Test math formatting for nbviewer.