<commit_before>
var md = (function () {
  // marked
  var defaults = {
    gfm: true,
    // highlight: null,
    tables: true,
    breaks: false,
    pedantic: false,
    sanitize: true,
    smartLists: true,
    smartypants: false,
    langPrefix: 'language-'//prism
  }

  function compile (markdown, sendResponse) {
    chrome.storage.sync.get(function (sync) {
      marked.setOptions(sync.options)

      marked(markdown, function (err, html) {
        if (err) throw err
        // prism fix
        html = html.replace(/language-html/g, 'language-markup')
        html = html.replace(/language-js/g, 'language-javascript')

        sendResponse({message: 'marked', marked: html})
      })
    })
  }

  return {
    defaults: defaults,
    compile: compile
  }
}())
<commit_msg>Update compiler options<commit_after>
var md = (function () {
  // marked
  var defaults = {
    gfm: true,
    tables: true,
    breaks: false,
    pedantic: false,
    sanitize: false,
    // sanitizer: null,
    // mangle: true, // mangling of email addresses
    smartLists: false,
    // silent: false, // report errors
    // highlight: null,
    langPrefix: 'language-', // prism
    smartypants: false
    // headerPrefix: '',
    // renderer:
    // xhtml: false // handle self closing HTML tags
  }

  function compile (markdown, sendResponse) {
    chrome.storage.sync.get(function (sync) {
      marked.setOptions(sync.options)

      marked(markdown, function (err, html) {
        if (err) throw err
        // prism fix
        html = html.replace(/language-html/g, 'language-markup')
        html = html.replace(/language-js/g, 'language-javascript')

        sendResponse({message: 'marked', marked: html})
      })
    })
  }

  return {
    defaults: defaults,
    compile: compile
  }
}())

{'fraction_non_alphanumeric': 0.1358574610244989, 'fraction_numerical': 0.0, 'mean_word_length': 2.3526119402985075, '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': '87392', 'n_tokens_mistral': 568, 'n_tokens_neox': 547, 'n_words': 138}