Pathes are now relative to the .md file, not the .html file

* Closes issue #24