From apply-markup