Refactors Markdown and removes helper