Skip to content

Commit

Permalink
Mention the necessity of setting up KaTeX in README
Browse files Browse the repository at this point in the history
  • Loading branch information
tatetian committed Mar 26, 2015
1 parent 364dab7 commit 823a000
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;">
Expand Down

0 comments on commit 823a000

Please sign in to comment.