Skip to content
Snippets Groups Projects
Commit 823a000b authored by Tate, Hongliang Tian's avatar Tate, Hongliang Tian
Browse files

Mention the necessity of setting up KaTeX in README

parent 364dab71
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,12 @@ your HTML files:
<script src="//path/to/pseudocode/pseudocode.min.js"></script>
```
Pseudocode.js uses [KaTeX](https://github.com/Khan/KaTeX) to render math
formulas. So if you want to include any math formulas in
your pseudocode, make sure that [KaTeX is
setup](https://github.com/Khan/KaTeX#usage).
Assume the pseudocode to be rendered is in a `<pre>` DOM element:
```html
<pre id="hello-world-code" style="display:hidden;">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment