Skip to content

Commit 5165ccb

Browse files
committed
Make docs more descriptive
1 parent 72b9722 commit 5165ccb

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

README.md

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,18 @@ There is a set of [built-in plugins](#built-in-plugins). See how to configure th
6363
module.exports = {
6464
plugins: [
6565
// enable a built-in plugin by name
66-
'builtinPluginName',
66+
'prefixIds',
67+
6768
// or by expanded version
6869
{
69-
name: 'builtinPluginName',
70+
name: 'prefixIds',
7071
},
72+
7173
// some plugins allow/require to pass options
7274
{
73-
name: 'builtinPluginName',
75+
name: 'prefixIds',
7476
params: {
75-
optionName: 'optionValue',
77+
prefix: 'my-prefix',
7678
},
7779
},
7880
],
@@ -90,21 +92,24 @@ module.exports = {
9092
params: {
9193
overrides: {
9294
// customize options for plugins included in preset
93-
builtinPluginName: {
94-
optionName: 'optionValue',
95+
inlineStyles: {
96+
onlyMatchedOnce: false,
9597
},
98+
9699
// or disable plugins
97-
anotherBuiltinPlugin: false,
100+
removeDoctype: false,
98101
},
99102
},
100103
},
101-
// Enable builtin plugin not included in preset
102-
'moreBuiltinPlugin',
103-
// Enable and configure builtin plugin not included in preset
104+
105+
// enable builtin plugin not included in default preset
106+
'prefixIds',
107+
108+
// enable and configure builtin plugin not included in preset
104109
{
105-
name: 'manyBuiltInPlugin',
110+
name: 'sortAttrs',
106111
params: {
107-
optionName: 'value',
112+
xmlnsOrder: 'alphabetical',
108113
},
109114
},
110115
],

0 commit comments

Comments
 (0)