Skip to content

Commit

Permalink
Additional code review tweaks to snippet implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidAnson committed Jul 24, 2019
1 parent 4b1ed91 commit db3454f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions snippets.json
@@ -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."
}
}

0 comments on commit db3454f

Please sign in to comment.