@@ -93,9 +93,10 @@ If a file is not properly formatted, the exit code will be non-zero.
9393
9494``` console
9595foo@bar:~ $ mdformat --help
96- usage: mdformat [-h] [--check] [--version] [--number] [--wrap {keep,no,INTEGER}]
97- [--end-of-line {lf,crlf,keep}] [--exclude PATTERN]
98- [--extensions EXTENSION] [--codeformatters LANGUAGE]
96+ usage: mdformat [-h] [--check] [--no-validate] [--version] [--number]
97+ [--wrap {keep,no,INTEGER}] [--end-of-line {lf,crlf,keep}]
98+ [--exclude PATTERN] [--extensions EXTENSION]
99+ [--codeformatters LANGUAGE]
99100 [paths ...]
100101
101102CommonMark compliant Markdown formatter
@@ -106,19 +107,23 @@ positional arguments:
106107options:
107108 -h, --help show this help message and exit
108109 --check do not apply changes to files
110+ --no-validate do not validate that the rendered HTML is consistent
109111 --version show program's version number and exit
110112 --number apply consecutive numbering to ordered lists
111113 --wrap {keep,no,INTEGER}
112114 paragraph word wrap mode (default: keep)
113115 --end-of-line {lf,crlf,keep}
114116 output file line ending mode (default: lf)
115- --exclude PATTERN exclude files that match the Unix-style glob pattern (multiple allowed)
117+ --exclude PATTERN exclude files that match the Unix-style glob pattern
118+ (multiple allowed)
116119 --extensions EXTENSION
117- require and enable an extension plugin (multiple allowed) (use
118- `--no-extensions` to disable) (default: all enabled)
120+ require and enable an extension plugin (multiple
121+ allowed) (use `--no-extensions` to disable) (default:
122+ all enabled)
119123 --codeformatters LANGUAGE
120- require and enable a code formatter plugin (multiple allowed)
121- (use `--no-codeformatters` to disable) (default: all enabled)
124+ require and enable a code formatter plugin (multiple
125+ allowed) (use `--no-codeformatters` to disable)
126+ (default: all enabled)
122127```
123128
124129The ` --exclude ` option is only available on Python 3.13+.
0 commit comments