Ask coding questions

← Back to all posts
How to add math formulas in a post
wulv

Is there any way to add math formulas in a post, except uploading them as an image?

Answered by DynamicSquid [earned 5 cycles]
View Answer
Voters
3B06HO
wulv
Comments
hotnewtop
DynamicSquid

I don't think so. I guess write your equations on a piece of paper and post it here

wulv

@DynamicSquid So unaesthetic, but I guess there is no other option... Thanks anyway!

AmazingMech2418

Unfortunately, Markdown does not support LaTeX, so you'd just have to either upload as an image or maybe just type out the LaTeX equation in a code thing (the backticks. I'm not sure what to call it.)

wulv

@AmazingMech2418 I don't think that putting the LaTex in backticks will render it. Usually, in all the Markdown parsers that do support LaTex (there are some), you wrap it inside dollar signs ($...$). I've made a feature request for it, upvote it if you wish

AmazingMech2418

@wulv It won't render it, but someone can copy it into something that will.

wulv

@AmazingMech2418 I don't think anybody will get into that trouble just to view an equation. I'll just upload them as an image. Since repl.it doesn't have a dark theme, it'll be just fine! Thanks for the help anyway