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.
Merge pull request #1224 from markstory/link-attributes

Add section about how to add link attributes