Fix flake8 compliance
Add markdown mathjax integration