Sociables

155
7

Support inline LaTeX

This is a niche request, but I'd like to register this suggestion for later reference.

Mathematics, physics and computer science communities will benefit enormously from the ability to write LaTeX code in their threads and comments, and have it render when the comment is posted.

Thus, I would write something like `$ x^2 = 1 $` and when I post, the LaTeX code is rendered either inline in the comment, or in a display math environment.

Currently, only mathstodon.xyz supports this functionality, and while that place is great for narrow interaction, it is not meant to be or suitable as a forum for extended discussion. The site or sites that will implement this functionality will certainly draw the attention of professionals in these scientific fields, coming from such places as www.mathoverflow.net and math stack exchage.

Adding this functionality may be challenging, and unrestricted latex code may pose a security risk, but these concerns have been overcome by places like mathoverflow, so if you are ever interested in implementing it, that is a great place to look.

Regards,
Yiannis
  • Hot

  • New

  • Top

94
10 months ago
Appreciate the suggestion! I know the other dev added the ability to add code blocks using the backticks like:
$ x^2 = 1 $
however it doesn't currently support syntax highlighting. Just so I'm clear, is what you are asking for a way for the code blocks to highlight the syntax to work with LaTeX code?
7
10 months ago
That's incorrect. What I am looking for is rendered LaTeX, the output of the code interpretation. Here is what it looks like, for instance, in a mathoverflow post: https://mathoverflow.net/questions/431964/signed-permutations-and-operatornameson