<commit_before># GitBook HTML minify Plugin

This is a HTML minifier for GitBook plugin.

Run HTML minify after build.

It is powered by the [html-minifier](https://github.com/kangax/html-minifier).

## Usage

### Installation

Add the plugin to your `book.json`:

```json
{
  "plugins": ["html-minifier"]
}
```

### Optional configuration

You can add the following [configuration params](https://github.com/kangax/html-minifier#options-quick-reference) to your `book.json`:

```json
{
  "plugins": ["html-minifier"],
  "pluginsConfig": {
    "html-minifier": {
      "caseSensitive": true,
      "collapseBooleanAttributes": true,<commit_msg>change README.md<commit_after># GitBook HTML minify Plugin

This is a HTML minifier for GitBook plugin.

Run HTML minify after build.

It is powered by the [html-minifier](https://github.com/kangax/html-minifier).

## Usage

### Installation

Add the plugin to your `book.json`:

```json
{
  "plugins": ["html-minifier"]
}
```

and run install command

```bash
$ gitbook install
```

### Optional configuration

You can add the following [configuration params](https://github.com/kangax/html-minifier#options-quick-reference) to your `book.json`:

```json
{
  "plugins": ["html-minifier"],
  "pluginsConfig": {
    "html-minifier": {
      "caseSensitive": true,
      "collapseBooleanAttributes": true,
{'fraction_non_alphanumeric': 0.14699331848552338, 'fraction_numerical': 0.0, 'mean_word_length': 4.349206349206349, 'pattern_counts': {'":': 12, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '7600034', 'n_tokens_mistral': 443, 'n_tokens_neox': 425, 'n_words': 119}