Fix links, gists and images.