first trial version of chem formula formatter
formula parser with formula formatter combined