How to leverage preprocessor hook in ember-cli

How to leverage preprocessor hook in ember-cli to pick-up .md templates, transform them to html, and save them as hbs for them to be used in one app.