Wikipedia says
Molisch's test is a sensitive chemical test, named after Austrian botanist Hans Molisch, for the presence of carbohydrates, based on the dehydration of the carbohydrate by sulfuric acid or hydrochloric acid to produce an aldehyde, which condenses with two molecules of a phenol (usually α-naphthol, though other phenols such as resorcinol and thymol) also give colored products), resulting in a red- or purple-coloured compound.
Can somebody provide an arrow pushing diagram to illustrate the intermediate steps of these reactions? (especially for the dehydration of glucose) Also, for the reaction with of 5-(hydroxymethyl)furfural with 2 moles of phenol, it seems that the acyl group is acting like an electrophile and naphthol is engaged in an electrophilic aromatic substitution, but then again, I am not sure how 2 moles of naphthol combined there. Any help would be appreciated.