<commit_before># i18n2-md-to-dom

### Installation

	$ npm install medikoo/i18n2-md2dom

### Usage

Converts [i18n2](https://github.com/medikoo/i18n2#i18n2) message, supposedly written with markdown format into DOM


```javascript
var _ = require('i18n2')(locale);
var md2dom = require(i18n2-md-to-dom);

var dom = md2Dom(_("Some text with __important__ content."));
// dom reflects: <p>Some text with <strong>important</strong> content.</p>

// Inserts are fully supported
dom = md2Dom(_("My name is __${ fullName }__.", {
  fullName: "<NAME>"
}));
// dom reflects: <p>My name is <strong><NAME></strong>.</p>
```

Behind the scenes it uses [Remarkable](https://github.com/jonschlinkert/remarkable#remarkable) markdown parser

### Tests [![Build Status](https://travis-ci.org/medikoo/i18n2-md-to-dom.svg)](https://travis-ci.org/medikoo/i18n2-md-to-dom)
<commit_msg>Fix install example<commit_after># i18n2-md-to-dom

### Installation

	$ npm install medikoo/i18n2-md-to-dom

### Usage

Converts [i18n2](https://github.com/medikoo/i18n2#i18n2) message, supposedly written with markdown format into DOM


```javascript
var _ = require('i18n2')(locale);
var md2dom = require(i18n2-md-to-dom);

var dom = md2Dom(_("Some text with __important__ content."));
// dom reflects: <p>Some text with <strong>important</strong> content.</p>

// Inserts are fully supported
dom = md2Dom(_("My name is __${ fullName }__.", {
  fullName: "<NAME>"
}));
// dom reflects: <p>My name is <strong><NAME></strong>.</p>
```

Behind the scenes it uses [Remarkable](https://github.com/jonschlinkert/remarkable#remarkable) markdown parser

### Tests [![Build Status](https://travis-ci.org/medikoo/i18n2-md-to-dom.svg)](https://travis-ci.org/medikoo/i18n2-md-to-dom)

{'fraction_non_alphanumeric': 0.17826336975273147, 'fraction_numerical': 0.035077630822311676, 'mean_word_length': 4.858585858585859, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 8, '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': '1901390', 'n_tokens_mistral': 675, 'n_tokens_neox': 644, 'n_words': 132}