refactors use of Kramdown in article.rb via injection