mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 06:25:51 +03:00
6 lines
216 B
JavaScript
6 lines
216 B
JavaScript
|
/* global Showdown, Handlebars */
|
||
|
var showdown = new Showdown.converter();
|
||
|
|
||
|
export default Ember.Handlebars.makeBoundHelper(function (markdown) {
|
||
|
return new Handlebars.SafeString(showdown.makeHtml(markdown));
|
||
|
});
|