Update README.md

Must specify UTF-8 in document for math characters to render properly.
This commit is contained in:
Adam Mark 2014-09-16 11:17:18 -04:00
parent aa7052d03a
commit 5cfa59e5b6

View File

@ -18,6 +18,12 @@ Download the built files from [the releases page](https://github.com/khan/katex/
<script src="/path/to/katex.min.js" type="text/javascript"></script>
```
Specify UTF-8 as your content type:
```html
<meta charset="utf-8">
```
Call `katex.render` with a TeX expression and a DOM element to render into:
```js