Engineer bro!

Fri Oct 22 2021 (7 months ago)

Engineer by mistake!

I am a software engineer by passion

Series of 5 parts

Embedding iframe on @dsabyte online editor

Writing MathMath in @dsabyte online editor

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.

Way to write maths diagram

@dsabyte online editor supports two types of maths diagrams.

  1. Inline

  2. Block

Inline Math

Inline math can be written using the symbol $. You need to wrap the maths code into two $ singns.




Output - n!k!(nk)!\frac{n!}{k!(n-k)!}


Sum of the array is $\sum_{i=0}^{n-1}A[i]$

Sum of the array is i=0n1A[i]\sum_{i=0}^{n-1}A[i]

Note - inline math only supports katex

Block Math

Block-level maths can be written in two formats.

  1. katex

  2. latex

Writing katex

The below code

   a & b & c \\ \hline
   d & e & f \\
   g & h & i

Will produce

abcdefghi\def\arraystretch{1.5} \begin{array}{c:c:c} a & b & c \\ \hline d & e & f \\ \hdashline g & h & i \end{array}

Writing latex

Latex can be written in the same way as katex

Katex tutorial


  1. math formula

  2. katex

  3. latex

Thank You ❤️


Comments (0)

Discussions (0)

© 2021 dsabyte. All rights reserved