mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 08:15:44 +00:00
demo: update math example from Mmark to Goldmark
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user