r/github • • Oct 27 '26

Discussion anyone knows if this markdown latex bug is somehow fixable?

https://gist.github.com/hageldave/1cc5e4e2135a9c141e25d3b3e00db092
1 Upvotes

1 comment sorted by

1

u/CartographerDue5382 Oct 27 '26

github still treats underscores as italic before it does the math, so the two of them swallow each other. escape each one with a backslash (type backslash, then underscore). katex still shows it as a subscript.