I think if Ed supports markdown code and mathjax, it would be perfect, but I don't know much about how jekyll works, so I can't handle it by myself.