fixed bug when rendering md in a subdirectory
fixed cleanup
Merge pull request #1 from berleon/master

Problems with rendering md file in a subdirectory