<commit_before># SVGs

To add SVG support, import the extension library:

```kotlin
implementation("io.coil-kt:coil-svg:0.6.1")
```

And add the decoder to your component registry when constructing your `ImageLoader`:

```kotlin
val imageLoader = ImageLoader(context) {
    componentRegistry {
        add(SvgDecoder())
    }
}
```

And that's it! The `ImageLoader` will automatically detect any SVGs using their file headers and decode them correctly.<commit_msg>coil-svg is currently only in 0.7.0-SNAPSHOT.<commit_after># SVGs

To add SVG support, import the extension library:

```kotlin
implementation("io.coil-kt:coil-svg:0.7.0-SNAPSHOT")
```

And add the decoder to your component registry when constructing your `ImageLoader`:

```kotlin
val imageLoader = ImageLoader(context) {
    componentRegistry {
        add(SvgDecoder())
    }
}
```

And that's it! The `ImageLoader` will automatically detect any SVGs using their file headers and decode them correctly.
{'fraction_non_alphanumeric': 0.10526315789473684, 'fraction_numerical': 0.009287925696594427, 'mean_word_length': 4.574712643678161, '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': '2179008', 'n_tokens_mistral': 313, 'n_tokens_neox': 287, 'n_words': 100}