Markdown+Math Tests

i valid src render comment
0 😊 $a$

a: kt is not defined

single character inline equation.
1 😊 $\varphi$

\varphi: kt is not defined

inline equation with single greek character
2 😊 $1+1=2$

1+1=2: kt is not defined

simple equation starting and ending with numbers.
3 😊 $1+1<3$

1+1<3: kt is not defined

simple equation including special html character.
4 😊 You get 3$ if you solve $1+2$

You get 3$ if you solve 1+2: kt is not defined

use of currency symbol
5 😊 If you solve $1+2$ you get $3

If you solve 1+2: kt is not defined you get $3

use of currency symbol
6 😊 $\frac{1}{2}$

\frac{1}{2}: kt is not defined

inline fraction
7 😊 $\begin{pmatrix}x\\y\end{pmatrix}$

\begin{pmatrix}x\\y\end{pmatrix}: kt is not defined

inline column vector
8 😊 ${\tilde\bold e}_\alpha$

{\tilde\bold e}_\alpha: kt is not defined

inline bold vector notation
9 😊 $a^{b}$

a^{b}: kt is not defined

exponentiation
10 😊 $a^*b$ with $a^*$

a^*b: kt is not defined with a^*: kt is not defined

conjugate complex
11 😊 $$e_\alpha$$
e_\alpha: kt is not defined
single block equation, greek index
12 😊 $$1+1=2$$
1+1=2: kt is not defined
display equation on its own single line.
13 😊 ${e}_x$ $$e_\alpha$$

{e}_x: kt is not defined

e_\alpha: kt is not defined
inline equation followed by block equation.
14 😊 $$c{\bold e}_x = a{\bold e}_\alpha - b\tilde{\bold e}_\alpha$$
c{\bold e}_x = a{\bold e}_\alpha - b\tilde{\bold e}_\alpha: kt is not defined
underline tests
15 😊 a$1+1=2$ $1+1=2$b c$x$d

a1+1=2: kt is not defined 1+1=2: kt is not definedb cx: kt is not definedd

non-numeric character before opening $ or after closing $ or both is allowed.
16 😊 $x$ $

x: kt is not defined $

following dollar character '$' is allowed.
17 😊 $x$ $y$

x: kt is not defined y: kt is not defined

consecutive inline equations.
18 😊 so-what is $x$

sox: kt is not defined

inline equation after '-' sign in text.
19 😊 $$ 1+1=2 $$
1+1=2 : kt is not defined
display equation with line breaks.
20 😊 $$\begin{matrix} f & = & 2 + x + 3 \\ & = & 5 + x \end{matrix}$$
\begin{matrix} f & = & 2 + x + 3 \\ & = & 5 + x \end{matrix}: kt is not defined
multiline equation.
21 😊 $$\begin{pmatrix}x_2 \\ y_2 \end{pmatrix} = \begin{pmatrix} A & B \\ C & D \end{pmatrix}\cdot \begin{pmatrix} x_1 \\ y_1 \end{pmatrix}$$
\begin{pmatrix}x_2 \\ y_2 \end{pmatrix} = \begin{pmatrix} A & B \\ C & D \end{pmatrix}\cdot \begin{pmatrix} x_1 \\ y_1 \end{pmatrix}: kt is not defined
vector equation.
22 😊 $$f(x) = x^2 - 1$$ (1)
f(x) = x^2 - 1: kt is not defined(1)
display equation with equation number.
23 😊 `code`$a-b$

codea-b: kt is not defined

inline equation following code section.
24 😊 ``` code ``` $$a+b$$
code
a+b: kt is not defined
equation following code block.
25 😊 ``` code ``` $$a+b$$(1)
code
a+b: kt is not defined(1)
numbered equation following code block.
26 😊 1. $1+2$ 2. $2+3$ 1. $3+4$
  1. 1+2: kt is not defined
  2. 2+3: kt is not defined
    1. 3+4: kt is not defined
Equations in list.
27 😊 $\sum_{i=1}^n$

\sum_{i=1}^n: kt is not defined

Inline sum.
28 😊 $$\sum_{i=1}^n$$
\sum_{i=1}^n: kt is not defined
Sum without equation number.
29 😊 $$\sum_{i=1}^n$$ (2)
\sum_{i=1}^n: kt is not defined(2)
Sum with equation number.
30 😊 $${\bold e}(\varphi) = \begin{pmatrix} \cos\varphi\\\sin\varphi \end{pmatrix}$$ (3)
{\bold e}(\varphi) = \begin{pmatrix} \cos\varphi\\\sin\varphi \end{pmatrix}: kt is not defined(3)
equation number always vertically aligned.
31 😊 > see $a = b + c$ > $c^2=a^2+b^2$ (2) > $c^2=a^2+b^2$

see a = b + c: kt is not defined c^2=a^2+b^2: kt is not defined (2) c^2=a^2+b^2: kt is not defined

inline equations in blockquote.
32 😡 3$1+1=2$ $1+1=2$4 5$x$6

31+1=2: kt is not defined 1+1=2: kt is not defined4 5x: kt is not defined6

numeric character before opening $ or after closing $ is not allowed.
33 😡 $ $ $ x$ $x $

$ $ $ x$ $x $

whitespace character after opening $ or before closing $ is not allowed.
34 😡 \$1+1=2$ $1+1=2\$

$1+1=2$ $1+1=2$

escaped dollars '\$' are interpreted as dollar '$' characters.
35 😡 $1+1=2$$1+1=2$

1+1=2: kt is not defined1+1=2: kt is not defined

at least one character (whitespace) is required between two inline formulas.
36 😡 $1+1= 2$

$1+1= 2$

line break in inline equation is not allowed.