Text this: Electronic and magnetic properties of pentagonal nanoribbons