Text this: Entangling nuclear spins using photoexcited triplet states