Skip to content

Commit f12dff2

Browse files
committed
Update Readme
1 parent 6b4fc0c commit f12dff2

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -536,17 +536,17 @@ Pass an object of the following properties
536536

537537
| Name | Type | Default | Description |
538538
| ------------- | ------------- | ------------- | ------------- |
539-
| `getLocalIdent` | `Function` | `undefined` | Generate the classname by specifying a function instead of using the built-in interpolation |
540-
| `hashSeeder` | `{Array}` | `['style', 'filepath', 'classname']` | An array of keys to base the hash on |
541-
| `includeAttributes` | `{Array}` | `[]` | An array of attributes to parse along with `class` |
539+
| [`getLocalIdent`](#getlocalident) | `Function` | `undefined` | Generate the classname by specifying a function instead of using the built-in interpolation |
540+
| [`hashSeeder`](#hashseeder) | `{Array}` | `['style', 'filepath', 'classname']` | An array of keys to base the hash on |
541+
| [`includeAttributes`](#includeattributes) | `{Array}` | `[]` | An array of attributes to parse along with `class` |
542542
| `includePaths` | `{Array}` | `[]` (Any) | An array of paths to be processed |
543-
| `localIdentName` | `{String}` | `"[local]-[hash:base64:6]"` | A rule using any available token |
543+
| [`localIdentName`](#localidentname) | `{String}` | `"[local]-[hash:base64:6]"` | A rule using any available token |
544544
| `mode` | `native\|mixed\|scoped` | `native` | The preprocess mode to use
545545
| `parseExternalStylesheet` | `{Boolean}` | `false` | Enable parsing on imported external stylesheet |
546546
| `parseStyleTag` | `{Boolean}` | `true` | Enable parsing on style tag |
547-
| `useAsDefaultScoping` | `{Boolean}` | `false` | Replace svelte scoping globally |
547+
| [`useAsDefaultScoping`](#useasdefaultscoping) | `{Boolean}` | `false` | Replace svelte scoping globally |
548548

549-
**`getLocalIdent`**
549+
#### `getLocalIdent`
550550

551551
Customize the creation of the classname instead of relying on the built-in function.
552552

@@ -605,7 +605,7 @@ preprocess: [
605605
...
606606
```
607607

608-
**`hashSeeder`**
608+
#### `hashSeeder`
609609

610610
Set the source to create the hash from (when using `[hash]` / `[contenthash]`).
611611

@@ -646,7 +646,7 @@ preprocess: [
646646
</style>
647647
```
648648

649-
**`includeAttributes`**
649+
#### `includeAttributes`
650650

651651
Add other attributes than `class` to be parsed by the preprocesser
652652

@@ -680,7 +680,7 @@ preprocess: [
680680
</style>
681681
```
682682

683-
**`localIdentName`**
683+
#### `localIdentName`
684684

685685
Inspired by [webpack interpolateName](https://github.com/webpack/loader-utils#interpolatename), here is the list of tokens:
686686

@@ -695,7 +695,7 @@ Inspired by [webpack interpolateName](https://github.com/webpack/loader-utils#in
695695
- other digestTypes, i. e. `hex`, `base26`, `base32`, `base36`, `base49`, `base52`, `base58`, `base62`, `base64`
696696
- and `length` the length in chars
697697

698-
**`useAsDefaultScoping`**
698+
#### `useAsDefaultScoping`
699699

700700
Globally replace the default svelte scoping by the cssModules scoping. As a result, the `module` attribute to `<style>` becomes unnecessary.
701701

0 commit comments

Comments
 (0)