I am using the Jetpack plugin of WordPress to write LaTeX codes in my WordPress post. Per the syntax, I am supposed to write my LaTeX codes between '$latex' and '$'.
$latex your-latex-code-here$
If I want to split LaTeX code between multiple lines between '$latex' and '$', it does not work.
E.g.
$latex
y = x^2 \\
z= k^2
$
does not work, whereas the following works.
$latex y = x^2 \\ z= k^2$
Is there any way to split the code into multiple lines?