Closed psanford closed 1 year ago
Hi @psanford ,
Thanks for reporting. Could you please try: https://github.com/mandolyte/mdtopdf/pull/50 (I've tested it with your sample input, of course but, would be good for you to run on your full file).
If all is well, I'll merge and create a new release.
it would be nice if there was an option to override the markdown extensions enabled
I agree it's a nice feature. I'll implement it at a later date (perhaps this weekend but not making any promises :)).
I can confirm that fixes the crash I was seeing.
Thanks for confirming. Release created.
The following markdown doc causes mdtopdf to panic:
The panic is:
Seems like the issue is that you have enabled the MathJax extension via
parser.CommonExtensions
but you don't actually support those AST types.I'm not trying to use MathJax so it would be nice if there was an option to override the markdown extensions enabled.