Hello Google AI Team,
I am an active user of AI Studio and I’m incredibly impressed with the model’s capabilities, particularly for complex, technical, and scientific world-building.
However, I’ve run into a significant limitation in the UI’s LaTeX rendering that creates a major hurdle for STEM-focused work: the lack of support for the mhchem package.
The Problem:
Currently, to render proper chemical and nuclear notation (e.g., $\mathrm{H_2O}$, $^{222}_{86}\mathrm{Rn}$), I have to use cumbersome workarounds like \mathrm{...} and manually scripting superscripts/subscripts. The AI model itself knows and can write the much cleaner and more standard \ce{...} syntax, but the front-end fails to render it, leaving a broken code block.
The Solution (A Low-Risk Enhancement):
This can be resolved by enabling the mhchem extension for the KaTeX or MathJax renderer that AI Studio uses. This is a mature, well-maintained, and widely used open-source extension, which should present a minimal security concern.
For your engineering and security teams’ convenience, the relevant open-source repositories are:
- For KaTeX: https://github.com/KaTeX/KaTeX/tree/main/contrib/mhchem
- For MathJax: https://github.com/mhchem/MathJax-mhchem
Why This Matters:
- Scientific Accuracy:
mhchemis the gold standard for chemical typesetting. Supporting it would elevate AI Studio to a professional standard for users in chemistry, physics, and other STEM fields. - User Experience: It would dramatically improve workflow, allowing users to write and render complex formulas quickly and intuitively, matching the AI’s own native output.
- Low Implementation Cost: As this is a pre-existing, trusted open-source component, the engineering effort required to enable it should be minimal.
- Competitive Parity: Many modern Markdown-focused platforms, like Obsidian and GitBook, already support this rendering out-of-the-box. For a development-focused tool like AI Studio, its absence is very noticeable.
Enabling this feature would be a massive quality-of-life improvement for the entire scientific and technical user base of your platform.
Thank you for your consideration.