To write nice chemical equations easily, we can use mhchem extension. Please see the following example.
markup
$\ce{2HCl + Na2CO3 = H2O + CO2 ^ + 2NaCl}$
rendered
According to KaTex's documentation, I just added require('katex/dist/contrib/mhchem.js') to this plugin and it works perfectly. Is it possible to formally add the mhchem support? It might be an option in the plugin settings. What is your opinion?
To write nice chemical equations easily, we can use mhchem extension. Please see the following example.
According to KaTex's documentation, I just added
require('katex/dist/contrib/mhchem.js')
to this plugin and it works perfectly. Is it possible to formally add the mhchem support? It might be an option in the plugin settings. What is your opinion?