Using Chemical Formulas / mhchem #5021
-
Hey! I've been trying to self host mkdocs on my server for a while now, but i cannot, for the life of me, figure out how to make chemical formulas. I've used mhchem before, and have tried to import it by enabling arithmatex + mathjax and changing mathjax.js to
Alas, while math renders fine, \ce fails to be recognized. Is there a way to render mhchem into mkdocs? I'm unfortunately pretty new to self-hosting- so i dont know 100% what i'm doing. Using docker if that might be important for whatever reason. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
So as I read, you followed the MathJax self-hosting guide, right? Other than that, the Docker container is not intended for serving – it's only intended for building a static site. |
Beta Was this translation helpful? Give feedback.
-
Well. This is a bit embarrassing. After a long night, a computer restart, and not much else, \ce began to work. I didn't even touch the server after I tested and posted this discussion. Perhaps it's some form of caching that hadn't updated? Regardless, I'd like to thank you two for posting comments. Thank you very much for your time! |
Beta Was this translation helpful? Give feedback.
Well. This is a bit embarrassing.
After a long night, a computer restart, and not much else, \ce began to work. I didn't even touch the server after I tested and posted this discussion.
Perhaps it's some form of caching that hadn't updated? Regardless, I'd like to thank you two for posting comments. Thank you very much for your time!