Text this: Material instabilities in elastic and plastic solids