markdown add else & delete template