Skip to content

Commit aaa55ba

Browse files
stephanlachnitdeining
authored andcommitted
doc: put KaTeX delimiters in own line
Signed-off-by: Stephan Lachnit <[email protected]>
1 parent fdcb8cd commit aaa55ba

File tree

1 file changed

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

1 file changed

+6
-2
lines changed

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

+6-2
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,15 @@ The following code sample produces an introductory text line followed by a formu
2929

3030
```tex
3131
The probability of getting \\(k\\) heads when flipping \\(n\\) coins is:
32-
$$\tag*{(1)} P(E) = {n \choose k} p^k (1-p)^{n-k}$$
32+
$$
33+
\tag*{(1)} P(E) = {n \choose k} p^k (1-p)^{n-k}
34+
$$
3335
```
3436

3537
The probability of getting \\(k\\) heads when flipping \\(n\\) coins is:
36-
$$\tag*{(1)} P(E) = {n \choose k} p^k (1-p)^{n-k}$$
38+
$$
39+
\tag*{(1)} P(E) = {n \choose k} p^k (1-p)^{n-k}
40+
$$
3741

3842
You can also use [GLFM's math blocks](https://docs.gitlab.com/ee/user/markdown.html#math) (requires hugo 0.93 or newer):
3943
````markdown

0 commit comments

Comments
 (0)