commit a9d5a8782f7100b78f22420250f8353102221dd5 parent c87511168d4c292c2f2cbf33e1041a624bb9f6c2 Author: Ben Alpert <alpert@khanacademy.org> Date: Wed, 15 Oct 2014 18:47:33 -0700 Fix typos in README Diffstat:
| M | README.md | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md @@ -36,9 +36,9 @@ Make sure to include the CSS and font files, but there is no need to include the These APIs default to inline math typesetting; for display math you can prepend `\displaystyle` ([#66](https://github.com/Khan/KaTeX/issues/66)): ```js -katex.render("\\displaystyle {" + formula + "}, element); +katex.render("\\displaystyle {" + formula + "}", element); // OR -var html = katex.renderToString("\\displaystyle " + formula); +var html = katex.renderToString("\\displaystyle {" + formula + "}"); ``` ## Contributing