Markdown: strip then transform