For now, I've disabled the MathAJax extension, though I created a stub in nodeProcessing.go for future consideration. Also, replaced the panic() call with fmt.Printf() when node.(type) does not match any of the supported types. This way, people could report such issues and at least get some useful output, rather than a crash.
See https://github.com/mandolyte/mdtopdf/issues/49
For now, I've disabled the
MathAJax
extension, though I created a stub in nodeProcessing.go for future consideration. Also, replaced thepanic()
call withfmt.Printf()
when node.(type) does not match any of the supported types. This way, people could report such issues and at least get some useful output, rather than a crash.