mandolyte / mdtopdf

Markdown to PDF
MIT License
133 stars 32 forks source link

Disable MathAjax gomarkdown extension #50

Closed jessp01 closed 1 year ago

jessp01 commented 1 year ago

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 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.