<commit_before># Test cases for extra features

## Table of contents

A TOC should be inserted below:
[[toc]]

But not here: `[[toc]]`

And here:
```
[[toc]]
```
And here: [[toc]]

## Index generation

An index should be inserted below:
[[index]]

But not here: `[[index]]`

And here:
```
[[index]]
```
And here: [[index]]


## Mermaid graphs

### Flowchart

```mermaid
graph TD;
    A[Hard edge] -->|Link text| B(Round edge);
    B --> C{Decision};
    C -->|One| D[Result one];
    C -->|Two| E[Result two];
```

Source:
```
graph TD;
    A[Hard edge] -->|Link text| B(Round edge);
    B --> C{Decision};
    C -->|One| D[Result one];
    C -->|Two| E[Result two];
```

### Sequence diagram
```mermaid
sequenceDiagram
    participant Alice
    participant Bob
    Alice->John: Hello John, how are you?
    loop Healthcheck
        John->John: Fight against hypochondria
    end
    Note right of John: Rational thoughts prevail...
    John-->Alice: Great!
    John->Bob: How about you?
    Bob-->John: Jolly good!
```

Source:
```
sequenceDiagram
    participant Alice
    participant Bob
    Alice->John: Hello John, how are you?
    loop Healthcheck
        John->John: Fight against hypochondria
    end
    Note right of John: Rational thoughts prevail...
    John-->Alice: Great!
    John->Bob: How about you?
    Bob-->John: Jolly good!
```

### Gantt
```mermaid
gantt
        dateFormat  YYYY-MM-DD
        title Adding GANTT diagram functionality to mermaid
        section A section
        Completed task            :done,    des1, 2014-01-06,2014-01-08
        Active task               :active,  des2, 2014-01-09, 3d
        Future task               :         des3, after des2, 5d
        Future task2               :         des4, after des3, 5d
        section Critical tasks
        Completed task in the critical line :crit, done, 2014-01-06,24h
        Implement parser and jison          :crit, done, after des1, 2d
        Create tests for parser             :crit, active, 3d
        Future task in critical line        :crit, 5d
        Create tests for renderer           :2d
        Add to mermaid                      :1d
```

Source:
```
gantt
        dateFormat  YYYY-MM-DD
        title Adding GANTT diagram functionality to mermaid
        section A section
        Completed task            :done,    des1, 2014-01-06,2014-01-08
        Active task               :active,  des2, 2014-01-09, 3d
        Future task               :         des3, after des2, 5d
        Future task2               :         des4, after des3, 5d
        section Critical tasks
        Completed task in the critical line :crit, done, 2014-01-06,24h
        Implement parser and jison          :crit, done, after des1, 2d
        Create tests for parser             :crit, active, 3d
        Future task in critical line        :crit, 5d
        Create tests for renderer           :2d
        Add to mermaid                      :1d
```<commit_msg>Updated mermaid examples<commit_after># Test cases for extra features

## Table of contents

A TOC should be inserted below:
[[toc]]

But not here: `[[toc]]`

And here:
```
[[toc]]
```
And here: [[toc]]

## Index generation

An index should be inserted below:
[[index]]

But not here: `[[index]]`

And here:
```
[[index]]
```
And here: [[index]]


## Mermaid graphs

### Flowchart

```mermaid
graph TD
  subgraph Sub
    A[Hard edge] -->|Link text| B(Round edge)
    B --> C{Decision}
  end
  C -->|One| D[Result one]
  C -->|Two| E[Result two]
```

Source:
```
graph TD
  subgraph Sub
    A[Hard edge] -->|Link text| B(Round edge)
    B --> C{Decision}
  end
  C -->|One| D[Result one]
  C -->|Two| E[Result two]
```

### Sequence diagram
```mermaid
sequenceDiagram
  participant Alice
  participant Bob
  Alice->John: Hello John, how are you?
  loop Healthcheck
    John->John: Fight against hypochondria
  end
  Note right of John: Rational thoughts prevail...
  John-->Alice: Great!
  John->Bob: How about you?
  Bob-->John: Jolly good!
```

Source:
```
sequenceDiagram
  participant Alice
  participant Bob
  Alice->John: Hello John, how are you?
  loop Healthcheck
    John->John: Fight against hypochondria  
  end
  Note right of John: Rational thoughts prevail...
  John-->Alice: Great!
  John->Bob: How about you?
  Bob-->John: Jolly good!
```

### Gantt
```mermaid
gantt
    dateFormat  YYYY-MM-DD
    title Adding GANTT diagram functionality to mermaid
    section A section
    Completed task            :done,    des1, 2014-01-06,2014-01-08
    Active task               :active,  des2, 2014-01-09, 3d
    Future task               :         des3, after des2, 5d
    Future task2               :         des4, after des3, 5d
    section Critical tasks
    Completed task in the critical line :crit, done, 2014-01-06,24h
    Implement parser and jison          :crit, done, after des1, 2d
    Create tests for parser             :crit, active, 3d
    Future task in critical line        :crit, 5d
    Create tests for renderer           :2d
    Add to mermaid                      :1d
```

Source:
```
gantt
    dateFormat  YYYY-MM-DD
    title Adding GANTT diagram functionality to mermaid
    section A section
    Completed task            :done,    des1, 2014-01-06,2014-01-08
    Active task               :active,  des2, 2014-01-09, 3d
    Future task               :         des3, after des2, 5d
    Future task2               :         des4, after des3, 5d
    section Critical tasks
    Completed task in the critical line :crit, done, 2014-01-06,24h
    Implement parser and jison          :crit, done, after des1, 2d
    Create tests for parser             :crit, active, 3d
    Future task in critical line        :crit, 5d
    Create tests for renderer           :2d
    Add to mermaid                      :1d
```
{'fraction_non_alphanumeric': 0.10519055009484393, 'fraction_numerical': 0.03448870494912916, 'mean_word_length': 2.035060177917321, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 39, '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': '454655', 'n_tokens_mistral': 1954, 'n_tokens_neox': 1769, 'n_words': 650}