demo: update math example from Mmark to Goldmark

This commit is contained in:
George Cushen committed 2020-05-01 22:07:09 +01:00
1 parent 48b39f8550
commit a05bc974c7
1 file changed
+3 -3
@@ -55,16 +55,16 @@ $$\gamma_{n} = \frac{ \left | \left (\mathbf x_{n} - \mathbf x_{n-1} \right )^T
Example **inline math** `$\nabla F(\mathbf{x}_{n})$` renders as $\nabla F(\mathbf{x}_{n})$.
Example **multi-line math** using the `\\` math linebreak:
Example **multi-line math** using the `\\\\` math linebreak:
```tex
$$f(k;p_0^*) = \begin{cases} p_0^* & \text{if }k=1, \\
$$f(k;p_0^*) = \begin{cases} p_0^* & \text{if }k=1, \\\\
1-p_0^* & \text {if }k=0.\end{cases}$$
```
renders as
$$f(k;p_0^*) = \begin{cases} p_0^* & \text{if }k=1, \\
$$f(k;p_0^*) = \begin{cases} p_0^* & \text{if }k=1, \\\\
1-p_0^* & \text {if }k=0.\end{cases}$$
### Diagrams