My configuration is as followed. Sorry for the inconvenience.
It seems some underscores in between $$ are parsed as and carets as .
// Configuration (do not edit) Marked 2 1022 (Mac App Store)
macOS Version: 12.0
defaultProcessor: Discount (GFM)
folderPreviewExtensionsArray: md, markdown, txt, mdown, html, opml
Brett on 17 Jul, 2021 11:54 AM
Glad to hear that's a good fix for you. I'm afraid the GFM processor
doesn't avoid rendering underscores as italics inside of equations as
well as it should.
I'm very inexperienced with MathJax (and KaTeX), honestly, so I can't
offer a lot of troubleshooting with the smaller quirks. If there's
something you think Marked's version of Mathjax is doing wrong that it
shouldn't be, though, let me know. If it works elsewhere but not in
Marked, I can look into why that would be.