Skip to content

Commit 08663c9

Browse files
Update README.md
1 parent 886dfc4 commit 08663c9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ Add this to your `.pre-commit-config.yaml`
111111
use `args: [--markdown-linebreak-ext=md]` (or other extensions used
112112
by your markdownfiles). If for some reason you want to treat all files
113113
as markdown, use `--markdown-linebreak-ext=*`.
114+
- By default, this hook trims all whitespace from the ends of lines.
115+
To specify a custom set of characters to trim instead, use `args: [--chars,"<chars to trim>"]`.
114116

115117
### Deprecated / replaced hooks
116118

0 commit comments

Comments
 (0)