<commit_before>var markdown = require('markdown');

(function(dust) {
  dust.helpers.markdown = function(chunk, context, bodies, params) {
    if (bodies.block) {
      return chunk.capture(bodies.block, context, function(string, chunk) {
        chunk.end(markdown.parse(string));
      });
    }
    return chunk;
  };
}(typeof exports !== 'undefined' ? module.exports = require('dustjs-linkedin') : dust));<commit_msg>Update to work with makara<commit_after>var markdown = require('markdown');

module.exports = function (dust) {
  dust.helpers.markdown = function(chunk, context, bodies, params) {
    if (bodies.block) {
      return chunk.capture(bodies.block, context, function(string, chunk) {
        chunk.end(markdown.parse(string));
      });
    }
    return chunk;
  };
};

module.exports.registerWith = module.exports;
{'fraction_non_alphanumeric': 0.15006002400960383, 'fraction_numerical': 0.0, 'mean_word_length': 3.8771929824561404, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '788665', 'n_tokens_mistral': 262, 'n_tokens_neox': 249, 'n_words': 51}