Text this: Electronic and optical properties of conjugated polymers