Add trailing link buttons.

This also reformats every line to be one long line. That will want to
get fixed next, but this made a quick macro substitution for every
anchor easier.