diff options
Diffstat (limited to 'frontend/src/Utils.js')
| -rw-r--r-- | frontend/src/Utils.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/frontend/src/Utils.js b/frontend/src/Utils.js deleted file mode 100644 index 61023c8..0000000 --- a/frontend/src/Utils.js +++ /dev/null @@ -1,16 +0,0 @@ -// Module App.BlogEntry - -showdown = require("showdown"); - -showdown.extension('blog', function() { - return [{ - type: 'output', - regex: /<ul>/g, - replace: '<ul class="browser-default">' - }]; -}); - -exports.mdify = function(corpus) { - var converter = new showdown.Converter({ extensions: ['blog'] }); - return converter.makeHtml(corpus); -}; |
