Skip to content

Commit

Permalink
close #5 latex support
Browse files Browse the repository at this point in the history
  • Loading branch information
lhao03 committed Dec 3, 2023
1 parent 92b2931 commit 4694cbb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ language = "en"
multilingual = false
src = "src"
title = "iGEM 2023/24"

[output.html]
mathjax-support = true
8 changes: 8 additions & 0 deletions src/documentation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ This is an example of a footnote[^note].
<div class="warning">A big warning!</div>
```

5. Latex, via [MathJax](https://www.mathjax.org/)
```
\\[ \mu = \frac{1}{N} \sum_{i=0} x_i \\]
```

\\[ \mu = \frac{1}{N} \sum_{i=0} x_i \\]


Note you can write HTML in Markdown as well! But please refrain from doing so unless necessary.

If you want to see all the Markdown features available to you, here is the [spec](https://spec.commonmark.org/0.30/).
Expand Down

0 comments on commit 4694cbb

Please sign in to comment.