import Ember from 'ember';
import Remarkable from 'remarkable';

export function mdRemarkable(markdownInput) {
  var md = new Remarkable();
  return new Ember.Handlebars.SafeString(md.render(markdownInput));
}

export default Ember.Handlebars.makeBoundHelper(mdRemarkable);

import Ember from 'ember';
import Remarkable from 'remarkable';

export function mdRemarkable(markdownInput) {
  var md = new Remarkable();
  return new Ember.Handlebars.SafeString(md.render(markdownInput));
}

export default Ember.Helper.helper(mdRemarkable);

Fix compatibility with ember 2
Fix compatibility with ember 2
