From a05bc974c71f5c196b25330ba402b6438c530efb Mon Sep 17 00:00:00 2001 From: George Cushen Date: Fri, 1 May 2020 22:07:09 +0100 Subject: [PATCH] demo: update math example from Mmark to Goldmark --- exampleSite/content/post/writing-technical-content/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/exampleSite/content/post/writing-technical-content/index.md b/exampleSite/content/post/writing-technical-content/index.md index f0b2934a..9e615950 100644 --- a/exampleSite/content/post/writing-technical-content/index.md +++ b/exampleSite/content/post/writing-technical-content/index.md @@ -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