docs: typo in node.md (#3285)

Fixed mhchem sample code that didn't work
This commit is contained in:
isamu arimoto
2021-09-27 13:38:24 +09:00
committed by GitHub
parent 668630c331
commit 4cf5120e47

View File

@@ -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}');
```