If the text in the square brackets to be put above or below an arrow starts with a non-capital letter, the parsing goes crazy.
MWE:
#import "@preview/chemformula:0.1.2": ch
#ch("A ->[Test][Below] B")
// #ch("A ->[test][Below] B")
Uncommenting the last line, will give an error
error: unknown variable: test
┌─ @preview/chemformula:0.1.2\src\chemformula.typ:212:4
│
212 │ recursive-parse(chem, mode: mode),
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│
= hint: if you meant to display multiple letters as is, try adding spaces be
tween each letter: `t e s t`
= hint: or if you meant to display this as text, try placing it in quotes: `
"test"`
If the text in the square brackets to be put above or below an arrow starts with a non-capital letter, the parsing goes crazy.
MWE:
Uncommenting the last line, will give an error