Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Additional code review tweaks to snippet implementation.
- Loading branch information
1 parent
4b1ed91
commit db3454f
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
{ | ||
"insertMarkdownLintDisableComment": { | ||
"prefix": "markdownlint-disable", | ||
"body": "<!-- markdownlint-disable $1 -->", | ||
"description": "Disables one or more markdownlint rules by name (e.g. MD013), alias (e.g. first-heading-h1), or tag (e.g. indentation). Multiple rules are space-delimited (e.g. MD018 MD019). If no rules are specified, then all rules are disabled unconditionally. Takes effect starting with the line this comment is on." | ||
"body": "<!-- markdownlint-disable ${1:MD000 }-->", | ||
"description": "Disables one or more rules by name (MD013), alias (line-length), or tag (whitespace). Multiple rules are space-delimited (MD018 MD019). If no rules are specified, all rules are disabled. Takes effect starting with the line the comment is on." | ||
}, | ||
"insertMarkdownLintEnableComment": { | ||
"prefix": "markdownlint-enable", | ||
"body": "<!-- markdownlint-enable $1 -->", | ||
"description": "Enables one or more markdownlint rules by name (e.g. MD013), alias (e.g. first-heading-h1), or tag (e.g. indentation). Multiple rules are space-delimited (e.g. MD018 MD019). If no rules are specified, then all rules are enabled unconditionally. Takes effect starting with the line this comment is on." | ||
"body": "<!-- markdownlint-enable ${1:MD000 }-->", | ||
"description": "Enables one or more rules by name (MD013), alias (line-length), or tag (whitespace). Multiple rules are space-delimited (MD018 MD019). If no rules are specified, all rules are enabled. Takes effect starting with the line the comment is on." | ||
}, | ||
|
||
"insertMarkdownLintCaptureComment": { | ||
"prefix": "markdownlint-capture", | ||
"body": "<!-- markdownlint-capture -->", | ||
"description": "Captures the current markdownlint rule configuration. Takes effect on the line this comment is on." | ||
"description": "Captures the current rule configuration. Takes effect starting with the line the comment is on." | ||
}, | ||
"insertMarkdownLintRestoreComment": { | ||
"prefix": "markdownlint-restore", | ||
"body": "<!-- markdownlint-restore -->", | ||
"description": "Restores the most recently captured markdownlint rule configuration, which by default is the document's initial configuration (i.e. as if every document started with `<!-- markdownlint-capture -->`). Takes effect on the line this comment is on." | ||
}, | ||
"description": "Restores the most recently captured rule configuration. Defaults to the document's initial configuration. Takes effect starting with the line the comment is on." | ||
} | ||
} |