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
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,11 +49,12 @@
49
49
50
50
Each rule has `match`, `replaceWith` and optionally `name`.
51
51
52
-
*`name`: Optional. Name of the rule to describe what the rule is for.
52
+
*`name`: Optional. Name of the rule to describe what the rule is for. You see this name on normalisation rule toggle menu.
53
53
*`match`: Regular expression to find text you want to normalise. [Global search flag](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions?redirectlocale=en-US&redirectslug=JavaScript%2FGuide%2FRegular_Expressions#Advanced_searching_with_flags) is automatically applied.
54
54
*`replaceWith`: One of the following
55
55
***Replacement text** as a string. You can use `$N`, where `N` is the index of substring (starting from 1) you captured in `match` with `()`.
56
56
***Letter case specification** as an object. Valid cases are `upper` and `lower`.
57
+
*`enableOnStart`: Optional. Set it `false` if you don't want to use the rule when the extension starts up.
0 commit comments