Skip to content

Commit 823a000

Browse files
committed
Mention the necessity of setting up KaTeX in README
1 parent 364dab7 commit 823a000

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ your HTML files:
3030
<script src="//path/to/pseudocode/pseudocode.min.js"></script>
3131
```
3232

33+
Pseudocode.js uses [KaTeX](https://github.com/Khan/KaTeX) to render math
34+
formulas. So if you want to include any math formulas in
35+
your pseudocode, make sure that [KaTeX is
36+
setup](https://github.com/Khan/KaTeX#usage).
37+
38+
3339
Assume the pseudocode to be rendered is in a `<pre>` DOM element:
3440
```html
3541
<pre id="hello-world-code" style="display:hidden;">

0 commit comments

Comments
 (0)