fix display of quire formula pattern in md