Write Chemical Equations as Text (using only UTF-8)
A quick way to write out chemical equations. Link to Embeddable Chemical Equation as Text
Keyboard Input
- [Ctrl][number] to enter subscrpts. ([Ctrl] 1 gives ₁)
- [Ctrl][Shift][number] to give superscripts ([Ctrl][Shift][2] gives ²)
- Embeddable into webpages (using iframes).
- [Ctrl][Shift][+]: gives a positive charge (⁺)
- [Ctrl][Shift][-]: gives a negative charge (⁻)
- [Ctrl][>]: gives a forward arrow (→)
- [Ctrl][<]: gives a backward arrow (←)
- [Ctrl][/]: gives the double arrow (⇌)
More notes on the usage are on the Montessorimuddle blog post.
----
URL Parameters
eqn -- a default equation to displayvalue: any equation using UTF-8 characters, except "+" must be replaced with "%2B" because plus sign is used in the url encoding.
chemEqns.html?eqn=Mg²⁺ %2B 2Cl⁻ → MgCl₂
To embed, the link would be: https://soriki.com/js/chem/chemEqn/chemEqns.html?eqn=Mg²⁺ %2B 2Cl⁻ → MgCl₂
The code for the embeddable iframe would be:
and it would look like this: