Sha256: 0a7dfd91874440d72fdc1dad9ea2811f57dbdbcd20fad25ce7feffd09936b159
Contents?: true
Size: 428 Bytes
Versions: 8
Compression:
Stored size: 428 Bytes
Contents
'use strict'; angular.module('markdown', []) .provider('markdown', [function () { var opts = {}; return { config: function (newOpts) { opts = newOpts; }, $get: function () { return new window.Showdown.converter(opts); } }; }]) .filter('markdown', ['markdown', function (markdown) { return function (text) { return markdown.makeHtml(text || ''); }; }]);
Version data entries
8 entries across 8 versions & 1 rubygems