mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-08 12:38:39 +00:00
Fix typos in README
This commit is contained in:
@@ -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)):
|
These APIs default to inline math typesetting; for display math you can prepend `\displaystyle` ([#66](https://github.com/Khan/KaTeX/issues/66)):
|
||||||
|
|
||||||
```js
|
```js
|
||||||
katex.render("\\displaystyle {" + formula + "}, element);
|
katex.render("\\displaystyle {" + formula + "}", element);
|
||||||
// OR
|
// OR
|
||||||
var html = katex.renderToString("\\displaystyle " + formula);
|
var html = katex.renderToString("\\displaystyle {" + formula + "}");
|
||||||
```
|
```
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
Reference in New Issue
Block a user