Text this: When topology meets chemistry