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

Support for chemical equations via mhchem #2301

Closed
sandeep-rao opened this issue Aug 10, 2020 · 2 comments · Fixed by #2327
Closed

Support for chemical equations via mhchem #2301

sandeep-rao opened this issue Aug 10, 2020 · 2 comments · Fixed by #2327

Comments

@sandeep-rao
Copy link

Describe your feature request

I would really appreciate the addition of mhchem extension to KaTex / MathJax to help in writing chemical equations and formulae.

What problem does this feature solve? [optional]

Additional context [optional]

Joplin already has support for this, since it's OSS, maybe one could have a look into it and port it here.
see https://discourse.joplinapp.org/t/feature-request-implementation-of-the-mhchem-extension-to-katex/3765/3

@0187773933
Copy link

https://github.com/marktext/marktext/blob/develop/src/muya/lib/utils/exportHtml.js#L3

import katex from 'katex'
import 'katex/dist/contrib/mhchem'
import loadRenderer from '../renderers'

@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.

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

Successfully merging a pull request may close this issue.

3 participants