Add section about how to add link attributes

After searching the guides and API docs I couldn't find a clear reference on how to add class names to links. I think an example in the guide would save other people some googling in the future.