Text this: Bifurcations and chaos in piecewise-smooth dynamical systems