Markpad icon indicating copy to clipboard operation
Markpad copied to clipboard

Feature Request: Support mhchem syntax `\ce{}` for chemical equations

Open bbowin opened this issue 3 months ago • 3 comments

What problem would this solve?

Is your feature request related to a problem? Please describe. Markpad can render normal LaTeX math formulas, but cannot render mhchem chemical equations using \ce{} syntax. The raw \ce{...} source text is displayed directly in preview instead of formatted chemical equations. Sample markdown snippet:

$$
\ce{2H2 + O2 -> 2H2O}
$$

$$
\ce{CH4 + 2O2 ->[燃烧] CO2 + 2H2O}
$$

What would you like?

Load mhchem extension for MathJax / KaTeX, so that \ce{} chemical‑equation syntax can render correctly inside math blocks.

Has another app got this right?

None. Other markdown editors such as MPE (Markdown Preview Enhanced) support this syntax.

Image

Which platform is this for?

Windows

Your Markpad version and how you installed it

2.7.4

bbowin avatar Sep 01 '26 23:09 bbowin

Correction: I am actually running Markpad 2.7.6, not 2.7.4 as filled in the template form. All other reproduction conditions remain unchanged: Windows 11 24H2 x64, installed via Windows installer.

bbowin avatar Sep 01 '26 23:09 bbowin

我还第一次知道还有这玩意,我看看

PathGao avatar Sep 02 '26 00:09 PathGao

我们一直有这个功能但是有bug,我给你修了。我这两天会联系发版

PathGao avatar Sep 02 '26 00:09 PathGao