Skip to content

Commit 010e5c8

Browse files
committed
Incorporate feedback form reviewer LisaFC
1 parent 2bccb66 commit 010e5c8

File tree

1 file changed

+9
-9
lines changed
  • userguide/content/en/docs/adding-content/diagrams-and-formulae

1 file changed

+9
-9
lines changed

userguide/content/en/docs/adding-content/diagrams-and-formulae/index.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ The probability of getting \(k\) heads when flipping \(n\) coins is:
4343
\tag*{(1)} P(E) = {n \choose k} p^k (1-p)^{n-k}
4444
```
4545
````
46-
Both standard syntax and `math` block renders to the same formula:
46+
Both standard syntax and `math` block render to the same formula:
4747

4848
The probability of getting \(k\) heads when flipping \(n\) coins is:
4949
```math
5050
\tag*{(1)} P(E) = {n \choose k} p^k (1-p)^{n-k}
5151
```
5252

5353
{{% 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.
5555
{{% /alert %}}
5656

5757
{{% alert title="Tip" %}}
@@ -60,7 +60,7 @@ This [wiki page](https://en.wikibooks.org/wiki/LaTeX/Mathematics) provides in-de
6060

6161
### \(\LaTeX\) typesetting using standard syntax
6262

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`:
6464

6565
{{< tabpane >}}
6666
{{< tab header="Site configuration file:" disabled=true />}}
@@ -117,7 +117,7 @@ markup:
117117
{{< /tab >}}
118118
{{< /tabpane >}}
119119

120-
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).
121121

122122
### Activating and configuring \(\KaTeX\) support
123123

@@ -172,7 +172,7 @@ params:
172172
{{< /tab >}}
173173
{{< /tabpane >}}
174174

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`:
176176

177177
{{< tabpane >}}
178178
{{< tab header="Configuration file:" disabled=true />}}
@@ -471,24 +471,24 @@ sequenceDiagram
471471

472472
Support of Mermaid diagrams is automatically enabled as soon as you use a `mermaid` code block on your page.
473473

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`:
475475

476476
{{< tabpane >}}
477477
{{< tab header="Configuration file:" disabled=true />}}
478478
{{< tab header="hugo.toml" lang="toml" >}}
479479
[params.mermaid]
480-
version = "10.9.0"
480+
version = "11.4.1"
481481
{{< /tab >}}
482482
{{< tab header="hugo.yaml" lang="yaml" >}}
483483
params:
484484
mermaid:
485-
version: 10.9.0
485+
version: 11.4.1
486486
{{< /tab >}}
487487
{{< tab header="hugo.json" lang="json" >}}
488488
{
489489
"params": {
490490
"mermaid": {
491-
"version": "10.9.0"
491+
"version": "11.4.1"
492492
}
493493
}
494494
}

0 commit comments

Comments
 (0)