Apply relative path fix to links as well

It would be nice to have the relative path fix (which is already applied to images and scripts) applied to normal links as well. This is particularly useful for referring to local files like videos within the markdown document.