I intend to use Joplin as a platform for writing articles and books compiled by latex. Since Joplin use “$$” instead of “\begin{}” used in both “katex” and “latex”. It has no way of numbering/referencing equations either.

Kindly allow latex based notation used in katex at the least for “math mode” specific only, so that i can easily switch between the two for my projects.

Could you provide an example with katex code, with current behaviour and expected behaviour? We support something like references if I remember well but maybe you mean something else.

1.I tried to reference/auto numbering equations as done in the latex code

\begin{equation} \label{galls}
x^{2}
\end{equation} eq. \eqref{galls} is used as.....

but nothing happens.

Currently only \tag can be used to manually number equation but not for cross referencing or auto-numbering.

I tried to type a matrix

\begin{pmatrix}
a & b \
c & d
\end{pmatrix}

but nothing happens.

Currently joplin appears to support for almosta ll of katex functions except for the matrix and cross refrencing of equations. Kindly enable these advanced math input commands as given in https://katex.org/docs/supported.html

Matrix environments work well! Please note there is a mistake in your code: it should be a & b \\ instead of a & b \. So the complete working code will be:

$$
\begin{pmatrix}
a & b \\
c & d
\end{pmatrix}
$$

About cross referencing and auto-numbering, as far as I knew, it was not possibile in KaTex but I don’t know now.

For example, we support the “macros” option, which allows creating a macro in one Katex block and referencing it in another, but I don’t know if that’s what you mean.