<commit_before>import { Utils } from 'meteor/vulcan:core';
import { convertFromRaw } from 'draft-js';
import { draftToHTML } from '../../lib/editor/utils.js';

import TurndownService from 'turndown';
const turndownService = new TurndownService()

import markdownIt from 'markdown-it'
import markdownItMathjax from './markdown-mathjax.js'
var mdi = markdownIt()
mdi.use(markdownItMathjax())
import { addCallback } from 'meteor/vulcan:core';
import { mjpage }  from 'mathjax-node-page'

import htmlToText from 'html-to-text'<commit_msg>Remove style tags when converting HTML to markdown<commit_after>import { Utils } from 'meteor/vulcan:core';
import { convertFromRaw } from 'draft-js';
import { draftToHTML } from '../../lib/editor/utils.js';

import TurndownService from 'turndown';
const turndownService = new TurndownService()
turndownService.remove('style') // Make sure we don't add the content of style tags to the markdown

import markdownIt from 'markdown-it'
import markdownItMathjax from './markdown-mathjax.js'
var mdi = markdownIt()
mdi.use(markdownItMathjax())
import { addCallback } from 'meteor/vulcan:core';
import { mjpage }  from 'mathjax-node-page'

import htmlToText from 'html-to-text'
{'fraction_non_alphanumeric': 0.12282157676348547, 'fraction_numerical': 0.0, 'mean_word_length': 5.414893617021277, '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': '3433583', 'n_tokens_mistral': 402, 'n_tokens_neox': 379, 'n_words': 108}