Text this: Foundations of high-energy astrophysics