Add error formatting for transclusion recursion errors
Error handling for KaTeX plugin