Engineer bro!
Fri Oct 22 2021 (2 years ago)
Engineer by mistake!
I am a software engineer by passion
Writing maths diagrams in @dsabyte online editor is very easy. You just need to write some syntax and semantics to render maths in the editor.
Note - @dsabyte online editor is using katex and latex to render maths diagram.
@dsabyte online editor supports two types of maths diagrams.
Inline
Block
Inline math can be written using the symbol $
. You need to wrap the maths code into two $
singns.
Code
$\frac{n!}{k!(n-k)!}$
Output - $\frac{n!}{k!(n-k)!}$
Code
Sum of the array is $\sum_{i=0}^{n-1}A[i]$
Output
Sum of the array is $\sum_{i=0}^{n-1}A[i]$
Note - inline math only supports katex
Block-level maths can be written in two formats.
katex
latex
katex
The below code
$$katex
\def\arraystretch{1.5}
\begin{array}{c:c:c}
a & b & c \\ \hline
d & e & f \\
\hdashline
g & h & i
\end{array}
$$
Will produce
latex
Latex can be written in the same way as katex
© 2021 dsabyte. All rights reserved