It's good to see the Link field type in D8. It takes a URL and (optionally) link text.
I'm adding a multiple links field to a content type and would like users to be able to provide some styling clues as well: e.g. this link is the primary one, this one needs a download icon. Basically let the user add CSS classes to each of the links in the same way they can add urls, text to each link they enter.
Is there a way to adding a new part to the field type?
(EDIT: I've put the answer into a custom module)