Re:Math on GitHub: The Good, the Bad and the Ugly
by hprotagonist on Saturday May 21, 2022 @09:10AM
(#31457560)
you can do both, the normal markdown way:
[ Parent
| on HN ]
Re:Math on GitHub: The Good, the Bad and the Ugly
by IshKebab on Saturday May 21, 2022 @12:55PM
(#31459527)
That doesn't work because then how do you display $a$ as literal inline code?
Re:Math on GitHub: The Good, the Bad and the Ugly
by runarberg on Saturday May 21, 2022 @01:22PM
(#31459841)
What about:
Inline code is ` $a$ ` automatically trimmed
But I think $`a+b`$ makes more sense (or even $$a+b$$; I mean this is markdown after all, not LaTeX).
Re:Math on GitHub: The Good, the Bad and the Ugly
by JadeNB on Saturday May 21, 2022 @04:09PM
(#31461349)
> But I think $`a+b`$ makes more sense (or even $$a+b$$; I mean this is markdown after all, not LaTeX).
True, but it is TeX notation, and `$$ $$` for inline math goes deeply against the experienced TeXnician's intuition. Why intentionally use notation that violates some users' domain intuition when there's an alternative that's no worse?