Support images and relative links to md files

This should allow you to preview e.g. a README.md with links in the doc/
directory the way you'd be able to on github.