You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: userguide/content/en/docs/adding-content/diagrams-and-formulae/index.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,15 +43,15 @@ The probability of getting \(k\) heads when flipping \(n\) coins is:
43
43
\tag*{(1)} P(E) = {n \choose k} p^k (1-p)^{n-k}
44
44
```
45
45
````
46
-
Both standard syntax and `math` block renders to the same formula:
46
+
Both standard syntax and `math` block render to the same formula:
47
47
48
48
The probability of getting \(k\) heads when flipping \(n\) coins is:
49
49
```math
50
50
\tag*{(1)} P(E) = {n \choose k} p^k (1-p)^{n-k}
51
51
```
52
52
53
53
{{% alert title="Attention" color="warning" %}}
54
-
In order to display mathematical formulae and/or chemical equations inside your page(s), you need to run hugo version 0.141.0 or above. With older hugo versions, an error is thrown.
54
+
In order to display mathematical formulae and/or chemical equations in your page(s), you need to run Hugo version 0.141.0 or above. With older Hugo versions, an error is thrown.
55
55
{{% /alert %}}
56
56
57
57
{{% alert title="Tip" %}}
@@ -60,7 +60,7 @@ This [wiki page](https://en.wikibooks.org/wiki/LaTeX/Mathematics) provides in-de
60
60
61
61
### \(\LaTeX\) typesetting using standard syntax
62
62
63
-
As of hugo v0.122, \(\LaTeX\) you can enable typesetting in Markdown using the standard syntax. To do so, you have make use of the goldmark `passthrough` extension inside your `hugo.toml`/`hugo.yaml`/`hugo.json`:
63
+
As of Hugo v0.122, \(\LaTeX\) you can enable typesetting in Markdown using the standard syntax. To do so, you need to use of the goldmark `passthrough` extension inside your `hugo.toml`/`hugo.yaml`/`hugo.json`:
You may alter this definition according to your needs. For details, please refer to the official [hugo docs](https://gohugo.io/content-management/mathematics/#step-1).
120
+
You can edit this definition to meet your own needs. For details, see the official [Hugo docs](https://gohugo.io/content-management/mathematics/#step-1).
121
121
122
122
### Activating and configuring \(\KaTeX\) support
123
123
@@ -172,7 +172,7 @@ params:
172
172
{{< /tab >}}
173
173
{{< /tabpane >}}
174
174
175
-
By default, docsy pulls in the latest officially released version of \(\KaTeX\) / mhchem extension at build time. If that doesn't fit your needs, you can specify the wanted \(\KaTeX\) version inside your configuration file `hugo.toml`/`hugo.yaml`/`hugo.json`:
175
+
By default, Docsy pulls in the latest officially released version of \(\KaTeX\) / mhchem extension at build time. If that doesn't fit your needs, you can specify the \(\KaTeX\) version you want in your configuration file `hugo.toml`/`hugo.yaml`/`hugo.json`:
Support of Mermaid diagrams is automatically enabled as soon as you use a `mermaid` code block on your page.
473
473
474
-
By default, docsy pulls in the latest officially released version of Mermaid at build time. If that doesn't fit your needs, you can specify the wanted mermaid version inside your configuration file `hugo.toml`/`hugo.yaml`/`hugo.json`:
474
+
By default, Docsy pulls in the latest officially released version of Mermaid at build time. If that doesn't fit your needs, you can specify the wanted mermaid version inside your configuration file `hugo.toml`/`hugo.yaml`/`hugo.json`:
0 commit comments