Moved the markdown file recognition and rendering in a seperate package