Text this: Physics of the interstellar and intergalactic medium