Clarify markdown validate settings (#151997)

Clairify markdown validate settings

Fixes #150949

- Rename headerLinks -> fragmentLinks
- Add new `fileLink.markdownFragmentsLinks` to validate the headers on fragment links (inherits the default setting value from `fragmentLinks`)
This commit is contained in:
Matt Bierner
2022-06-13 17:06:28 -07:00
committed by GitHub
parent af754ef399
commit 1a07fd15d7
4 changed files with 101 additions and 49 deletions

View File

@@ -447,10 +447,10 @@
"experimental"
]
},
"markdown.experimental.validate.headerLinks.enabled": {
"markdown.experimental.validate.fragmentLinks.enabled": {
"type": "string",
"scope": "resource",
"markdownDescription": "%configuration.markdown.experimental.validate.headerLinks.enabled.description%",
"markdownDescription": "%configuration.markdown.experimental.validate.fragmentLinks.enabled.description%",
"default": "warning",
"enum": [
"ignore",
@@ -475,6 +475,19 @@
"experimental"
]
},
"markdown.experimental.validate.fileLinks.markdownFragmentLinks": {
"type": "string",
"scope": "resource",
"markdownDescription": "%configuration.markdown.experimental.validate.fileLinks.markdownFragmentLinks.description%",
"enum": [
"ignore",
"warning",
"error"
],
"tags": [
"experimental"
]
},
"markdown.experimental.validate.ignoreLinks": {
"type": "array",
"scope": "resource",