-
Notifications
You must be signed in to change notification settings - Fork 5
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
improve docs by writing chemical species upright #9
Comments
You're absolutely right, I'll check your proposal. If you manage to make a working solution, you're always welcome to submit a PR here. 😄 |
I'd love to provide a PR, but unfortunately I am an absolute newbie to Julia and thus have no clue how I would get the resulting HTML output from |
Has anything been done in this direction? If not, I can try to do something. |
Nope, the equation is still rendered as "pure math". Of course the trivial fix would be to apply longmen's solution (assuming it works). Would you be willing to have a look at |
I plan to enable MathJax3 as the default math engine and then use mhchem. I believe this will provide a greater number of possibilities for writing chemical equations in the documentation. |
That sounds great to me, but let's hope that @zlatanvasovic is still active and will approve your PR. |
I've written him a few emails. In his own time he will. But this is a little more complicated, the intervention in the documentation is a bit deeper. The language has changed a lot since the package was last updated. Take the expected behavior of the
I'm currently tracking this kind of update, otherwise the build won't work. |
PR #11 to see the proposed updates. |
Currently
ChemEquations.jl/docs/src/index.md
Lines 7 to 9 in 393e520
is rendered as
on https://zlatanvasovic.github.io/ChemEquations.jl/dev/.
But as you for sure know, chemical species should be written in an upright font. I think it should be possible to achieve that with the
mhchem
extensions ofMathJax
andKaTeX
, depending on which renderer you are using. Please have a look athttps://mhchem.github.io/MathJax-mhchem/
The text was updated successfully, but these errors were encountered: