From 949e15d19af09a5dde499ef129bf37b04631f610 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Mon, 16 Dec 2019 11:49:06 +0000 Subject: [PATCH] demo: simplify inline math example for Goldmark --- exampleSite/content/post/writing-technical-content/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exampleSite/content/post/writing-technical-content/index.md b/exampleSite/content/post/writing-technical-content/index.md index 40b5ef8e..405a8f04 100644 --- a/exampleSite/content/post/writing-technical-content/index.md +++ b/exampleSite/content/post/writing-technical-content/index.md @@ -38,7 +38,7 @@ data.head() Academic supports a Markdown extension for $\LaTeX$ math. You can enable this feature by toggling the `math` option in your `config/_default/params.toml` file. -To render *inline* or *block* math, wrap your LaTeX math with `$$...$$`. +To render *inline* or *block* math, wrap your LaTeX math with `$...$` or `$$...$$`, respectively. Example **math block**: @@ -53,7 +53,7 @@ renders as $$\gamma_{n} = \frac{ \left | \left (\mathbf x_{n} - \mathbf x_{n-1} \right )^T \left [\nabla F (\mathbf x_{n}) - \nabla F (\mathbf x_{n-1}) \right ] \right |}{\left \|\nabla F(\mathbf{x}_{n}) - \nabla F(\mathbf{x}_{n-1}) \right \|^2}$$ -Example **inline math** `$$\left \|\nabla F(\mathbf{x}_{n}) - \nabla F(\mathbf{x}_{n-1}) \right \|^2$$` renders as $$\left \|\nabla F(\mathbf{x}_{n}) - \nabla F(\mathbf{x}_{n-1}) \right \|^2$$ . +Example **inline math** `$\nabla F(\mathbf{x}_{n})$` renders as $\nabla F(\mathbf{x}_{n})$. Example **multi-line math** using the `\\` math linebreak: