Investigate how MathJax is currently configured in CodiMD. The mhchem package provides LaTeX like chemical equation formatting for MathJax. To integrate, you would need to add the extension to the MathJax configuration, likely in a JavaScript file that initializes MathJax for note rendering. Look for existing MathJax configuration in the codebase, possibly in a frontend module handling markdown rendering. Check if other MathJax extensions are used to follow the same pattern.