Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature suggestion] About identify $\ce{}$ in a formula #2725

Closed
boxie123 opened this issue Dec 2, 2021 · 2 comments
Closed

[Feature suggestion] About identify $\ce{}$ in a formula #2725

boxie123 opened this issue Dec 2, 2021 · 2 comments

Comments

@boxie123
Copy link

boxie123 commented Dec 2, 2021

Describe your feature request

The \ce{} provides a lot of conveniences when I type some chemical language. It can convert some characters to superscripts and subscripts automatically.

For example, $\ce{CO2 ->[\Delta] C + O2 ^}$ will obtain the same result as $CO_2 \xrightarrow{\Delta} C + O_2\uparrow$ .

Typora and Zettlr both support the function. However, Mark Text doesn't.

Thank you very much if you can add this function.

What problem does this feature solve? [optional]

There are a large number of people in the world engaged in chemistry-related work. Adding this feature will make it more convenient for us to edit markdown documents through Mark Text!


描述您的功能请求

当我输入一些化学语言时,\ce{} 提供了很多便利。 它可以自动将某些字符转换为化学符号或者上下标。

例如,$\ce{CO2 ->[\Delta] C + O2 ^}$ 将获得与 $CO_2 \xrightarrow{\Delta} C + O_2\uparrow$ 相同的结果。

Typora 和 Zettlr 都支持该功能。 但遗憾的是,Mark Text 没有。

如果可以添加这个功能,非常感谢。

这个功能解决了什么问题? [可选的]

世界上有庞大的人数在从事与化学有关的工作。 增加这个功能会让我们使用Mark Text编辑markdown文档更加方便!

image

@YalandHong
Copy link

YalandHong commented Dec 2, 2021

Duplicate of #2301

KaTex supports \ce via mhchem extension. However MarkText doesn't seem to include it.

There's also a PR (#2327 ) linked to this issue.

@fxha
Copy link
Contributor

fxha commented Dec 23, 2021

Thank you for reporting the issue. We noticed that this is a duplicate and closing it in favor of #1909. You may want to subscribe there for further updates.

@fxha fxha closed this as completed Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants