mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 11:18:39 +00:00
docs: typo in node.md (#3285)
Fixed mhchem sample code that didn't work
This commit is contained in:
@@ -95,5 +95,5 @@ mhchem in Node as follows:
|
||||
```js
|
||||
const katex = require('katex');
|
||||
require('katex/dist/contrib/mhchem.js'); // modify katex module
|
||||
const html = katex.renderToString('\\ce{CO2 + C -> 2 C0}");
|
||||
const html = katex.renderToString('\\ce{CO2 + C -> 2 C0}');
|
||||
```
|
||||
|
Reference in New Issue
Block a user