Skip to content

Commit 1861895

Browse files
committed
docs: add 'validate' to documentation
1 parent ddd42ca commit 1861895

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/users/configuration_file.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Command line interface arguments take precedence over the configuration file.
2020
wrap = "keep" # options: {"keep", "no", INTEGER}
2121
number = false # options: {false, true}
2222
end_of_line = "lf" # options: {"lf", "crlf", "keep"}
23+
validate = true # options: {false, true}
2324
# extensions = [ # options: a list of enabled extensions (default: all installed are enabled)
2425
# "gfm",
2526
# "toc",

src/mdformat/_conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
DEFAULT_OPTS = {
1010
"wrap": "keep",
11-
"validate": True,
1211
"number": False,
1312
"end_of_line": "lf",
13+
"validate": True,
1414
"exclude": [],
1515
"plugin": {},
1616
"extensions": None,

0 commit comments

Comments
 (0)