<commit_before>/**
 * @author: <NAME>
 * @site: http://sofish.de
 * @license: MIT
 */

var marked, Clipboard, GUI;

// make a referrence to gui
GUI = require('nw.gui');

// markdown parser
marked = require('marked');
marked.setOptions({
  gfm: true,
  tables: true,
  breaks: false,
  pedantic: false,
  sanitize: true,
  smartLists: true,
  langPrefix: 'lang-',
  highlight: function(code, lang) {
    return code;
  }
});


// access clipboard
Clipboard = GUI.Clipboard.get();<commit_msg>add html support<commit_after>/**
 * @author: <NAME>
 * @site: http://sofish.de
 * @license: MIT
 */

var marked, Clipboard, GUI;

// make a referrence to gui
GUI = require('nw.gui');

// markdown parser
marked = require('marked');
marked.setOptions({
  gfm: true,
  tables: true,
  breaks: false,
  pedantic: false,
  sanitize: false,
  smartLists: true,
  langPrefix: 'lang-',
  highlight: function(code, lang) {
    return code;
  }
});


// access clipboard
Clipboard = GUI.Clipboard.get();
{'fraction_non_alphanumeric': 0.16463414634146342, 'fraction_numerical': 0.0, 'mean_word_length': 3.624413145539906, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6672922', 'n_tokens_mistral': 363, 'n_tokens_neox': 350, 'n_words': 93}