Text Markdown Support for Maths
As Discord is becoming a platform for more than just games, I realised while getting help on homework the usefulness if text chat supported formatting of mathematical equations. I'm sure this would help many others into fluently understanding equations rather than trying to piece together all the roots, ^'s and * conflicts.
With this implemented I would imagine a message built inside something like a code block (initialised using ```) where it would automatically format basic equations. Using / to split the numbers into fractions, using ^ to turn numbers into superscripts. * being converted into your standard x multiplication and maybe turn the letter x into the fancy 𝑥 would be cool!
Is this even possible?

Yes this would be great!
And it could be done easily using the existing markdown syntax system discord has via mathjax, katex, or even github's math rendering system, all of which use simplified varieties of LaTeX's/TeX's math notation syntax.
Where you would just surround your math syntax (written in the supported subset/variety of LaTeX/TeX of whatever tool is chosen) between `$`'s (or for international purposes any other currency symbol that is on the keyboard if `$` is not) would output inline rendered math. Though I am not sure if they would be as open to supporting the usual double `$` syntax for display style math which would need to be rendered centered on a new line.Side notes and known caveats w/ each:
GitHub's math rendering system,
only outputs images rather than mathml, html, or (best option for accessibility) mathml & html, like the other two options, preventing easy copying and limiting reasonable support given discords current multimedia. As it just inputs the info from the parameter in the requesting URL into a template of the LaTeX standalone class and outputs to png.
MathJaxFor overall support, ease of use, customizability (for compatibility and use), would be a great pick but unfortunately it is the slowest of all the options.
It also allows limited macro definitions in both LaTeX and TeX styles, which are usually global to the instance of the MathJax system being used, so you would either need to sanities the input for non math mode things, or be careful in how you set things up. It would likely not be difficult to make these customizations server and/or channel specific so that admins can set up custom macros.KaTeX
Not as customizable as MathJax, but it is noticeably lighter weight, and simpler to implement (though more restrictive and manual of a process).
However, it currently has some significant rendering and consistency errors/bugs. Between modifying the syntax, names, and functionality of std LaTeX lib items, as well as some commonly used packages, as well as, having (currently as of 2021/04/06) issues with sizing and rendering of sub scripts and superscripts, and many other things that resize and move elements around. It can be said that the package is just not as mature as the other two.Anyway, I really hope to see this implemented one day, as using things like the math bot are just not as good of solutions, for discussion, as implementing some system like the ones mentioned above that are commonly used for rendering math from markdown syntax (even json segmented markdown like discord has, see ipnb files for the jupyter systems).
3 
I agree with you a hundred percent.
I've joined a system developerhosted group, and math equations are a strong desire of the members.1 
osterhoutan
Thanks for the info! Awesome to hear there's functionality of it outside of let's say, MS Word's equation builder haha. Would be awesome to see this implemented!1 
There are several types of addition worksheets, each with its own specific purpose. These exercises focus on developing speed and accuracy in addition. Some are focused on building place value, while others involve the addition of 1, 10, or 100 to a range of threedigit numbers. Similarly, some focus on combining twodigit numbers. They can be divided into several categories based on the number of addends, such as twodigit numbers or fractions with the same denominator.
1 
Cazoom Math offers an excellent set of 6th grade math worksheets. These worksheets are tailored to the 6thgrade curriculum and are aligned with the Common Core State Standards. This ensures that students are practicing math skills that are appropriate for their grade level and aligned with educational standards.
0 
Adding support for formatting equations in Discord would make understanding them much easier, similar to having a builtin calculator. You can check out this calculadoraalicia.mx for inspiration on userfriendly math formatting.
0 
Adding support for formatting equations in Discord would make understanding them much easier, similar to having a builtin calculator. You can check out this calculadoraalicia.com.es for inspiration on userfriendly math formatting.
0
Por favor, entrar para comentar.
Comentários
7 comentários