Math and Chemistry in Mathpix Snip

Here I'll put some Mathpix Markdown code to illustrate how this can work. First, let's see what happens with The Number Devil chapter on using 1 1 111s to generate any number.

The Number Devil 1st Chapter Math

1 × 1 = 1 1 × 1 = 1 1xx1=11 \times 1=11×1=1
11 × 11 = 121 11 × 11 = 121 11 xx11=12111 \times 11=12111×11=121
111 × 111 = 12321 111 × 111 = 12321 111 xx111=12321111 \times 111=12321111×111=12321
1111 × 1111 = 1234321 1111 × 1111 = 1234321 1111 xx1111=12343211111 \times 1111=12343211111×1111=1234321
11111 × 11111 = 123454321 11111 × 11111 = 123454321 11111 xx11111=12345432111111 \times 11111=12345432111111×11111=123454321
111111 × 111111 = 12345654321 111111 × 111111 = 12345654321 111111 xx111111=12345654321111111 \times 111111=12345654321111111×111111=12345654321
1111111 × 1111111 = 1234567654321 1111111 × 1111111 = 1234567654321 1111111 xx1111111=12345676543211111111 \times 1111111=12345676543211111111×1111111=1234567654321
11111111 × 11111111 = 123456787654321 11111111 × 11111111 = 123456787654321 11111111 xx11111111=12345678765432111111111 \times 11111111=12345678765432111111111×11111111=123456787654321
111111111 × 111111111 = 12345678987654321 111111111 × 111111111 = 12345678987654321 111111111 xx111111111=12345678987654321111111111 \times 111111111=12345678987654321111111111×111111111=12345678987654321
1111111111 × 1111111111 = 1234567900987654321 1111111111 × 1111111111 = 1234567900987654321 1111111111 xx1111111111=12345679009876543211111111111 \times 1111111111=12345679009876543211111111111×1111111111=1234567900987654321
11111111111 × 11111111111 = 123456790120987654321 11111111111 × 11111111111 = 123456790120987654321 11111111111 xx11111111111=12345679012098765432111111111111 \times 11111111111=12345679012098765432111111111111×11111111111=123456790120987654321
Here's another cool pattern from the 7th grade textbook at Astoria Middle School:
1 × 8 + 1 = 9 1 × 8 + 1 = 9 1xx8+1=91 \times 8 + 1=91×8+1=9
12 × 8 + 2 = 98 12 × 8 + 2 = 98 12 xx8+2=9812 \times 8 + 2=9812×8+2=98
123 × 8 + 3 = 987 123 × 8 + 3 = 987 123 xx8+3=987123 \times 8 + 3=987123×8+3=987
1234 × 8 + 4 = 9876 1234 × 8 + 4 = 9876 1234 xx8+4=98761234 \times 8 + 4=98761234×8+4=9876
12345 × 8 + 5 = 98765 12345 × 8 + 5 = 98765 12345 xx8+5=9876512345 \times 8 + 5=9876512345×8+5=98765
123456 × 8 + 6 = 987654 123456 × 8 + 6 = 987654 123456 xx8+6=987654123456 \times 8 + 6=987654123456×8+6=987654
1234567 × 8 + 7 = 9876543 1234567 × 8 + 7 = 9876543 1234567 xx8+7=98765431234567 \times 8 + 7=98765431234567×8+7=9876543
12345678 × 8 + 8 = 98765432 12345678 × 8 + 8 = 98765432 12345678 xx8+8=9876543212345678 \times 8 + 8=9876543212345678×8+8=98765432
123456789 × 8 + 9 = 987654321 123456789 × 8 + 9 = 987654321 123456789 xx8+9=987654321123456789 \times 8 + 9=987654321123456789×8+9=987654321
That was cool! Now let's see if the solver works. Wow, would that be cool or what!

Example Rendering with Solver

x 2 sin x d x = x 2 cos ( x ) + 2 x sin ( x ) + 2 cos ( x ) x 2 sin x d x = x 2 cos x + 2 x sin x + 2 cos x intx^(2)sin xdx=-x^(2)cos (x)+2x sin (x)+2cos (x)\int x^{2} \sin x d x=- x^{2} \cos{\left(x \right)} + 2 x \sin{\left(x \right)} + 2 \cos{\left(x \right)}x2sinxdx=x2cos(x)+2xsin(x)+2cos(x)
It works!!!

Chemistry

Here is SMILES code input for several organic compounds (with some stereochemistry):
CN1CCC[C@H]1C2=CN=CC=C2NSHN
Nicotine
OC(=O)c1cc(Cl)cs1OHOClS


CC(CCC(=O)N)CNONH2NH2


C[C@@H](C(=O)O)NSHOOHNH2


C1CCC2CCCCC2C1
Decalin

C1CCCC1CCC(=O)CO


CC(C)COOH
Isobutyl alchohol

CC(CCC(=O)N)CNONH2NH2
5-amino-4-methylpentanamide

C1CCCCC1
Cyclohexane

c1ccccc1
Benzene

F/C=C/FFF
(E)-1,2-difluoroethene

F/C=C\FFF
(Z)-1,2-difluoroethene

C[C@@H](C(=O)O)NSHOOHNH2
L-Alanine

C[C@H](C(=O)O)NRHOOHNH2
D-Alanine
Using InChi values:
Cn1c(=O)c2c(ncn2C)n(C)c1=ONONNNO
Caffeine