<commit_before>import React from 'react';
import Remarkable from 'remarkable';

function MarkdownRenderer(props) {
    const remarkable = new Remarkable(props.options);
    const html = remarkable.render(props.markdown);

    return (
        <div {...props} dangerouslySetInnerHTML={{ __html: html }} />
    );
}

MarkdownRenderer.propTypes = {
    markdown: React.PropTypes.string.isRequired,
    options: React.PropTypes.object,
};

MarkdownRenderer.defaultProps = {
    options: {},
};

export default MarkdownRenderer;<commit_msg>export on the same line as declaration<commit_after>import React from 'react';
import Remarkable from 'remarkable';

export default function MarkdownRenderer(props) {
    const remarkable = new Remarkable(props.options);
    const html = remarkable.render(props.markdown);

    return (
        <div {...props} dangerouslySetInnerHTML={{ __html: html }} />
    );
}

MarkdownRenderer.propTypes = {
    markdown: React.PropTypes.string.isRequired,
    options: React.PropTypes.object,
};

MarkdownRenderer.defaultProps = {
    options: {},
};
{'fraction_non_alphanumeric': 0.11988847583643122, 'fraction_numerical': 0.0, 'mean_word_length': 4.15311004784689, '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': '3250196', 'n_tokens_mistral': 311, 'n_tokens_neox': 301, 'n_words': 70}