You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,9 @@ Default options support the most usual usage scenario:
79
79
doctype:'<!DOCTYPE html>',
80
80
snapshots:'snapshots',
81
81
screenshots:null,
82
+
fileNumbering:false,
83
+
fileNumberDigits:3,
84
+
fileNumberSeparator:'.',
82
85
force:false
83
86
},
84
87
'google': {
@@ -163,6 +166,24 @@ Default value: null
163
166
164
167
Destination directory to write the viewport screenshots to. It will be created if it does not exist. Default value is `null`, which means, that no screenshots will be written out.
165
168
169
+
#### fileNumbering
170
+
Type: `Booolean`
171
+
Default value: `false`
172
+
173
+
Enables prefixing names of snapshot and screenshot files with their index number, for example: "002.google-input.html".
174
+
175
+
#### fileNumberDigits
176
+
Type: `Number`
177
+
Default value: `3`
178
+
179
+
Ensures, that file numbers will have always at least the specified count of digits. If the number is smaller, than its power of 10, the number will be padded by zeros (0) from the left.
180
+
181
+
#### fileNumberSeparator
182
+
Type: `String`
183
+
Default value: '.'
184
+
185
+
The character to put between the file number and the file name.
0 commit comments