Shear markup

This superseeds snippet 1166 and snippet 1167.