move markdown injector function into Libertree.UI
hook up markdown injector in application.js