mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
fix hygiene issues
This commit is contained in:
parent
f3cc2709d6
commit
2ac170e64e
|
@ -1,26 +1,26 @@
|
|||
{
|
||||
"comments": {
|
||||
// symbol used for single line comment. Remove this entry if your language does not support line comments
|
||||
"lineComment": "//",
|
||||
// symbols used for start and end a block comment. Remove this entry if your language does not support block comments
|
||||
"blockComment": [
|
||||
"/*",
|
||||
"*/"
|
||||
]
|
||||
},
|
||||
// symbols used as brackets
|
||||
"brackets": [
|
||||
[
|
||||
"{",
|
||||
"}"
|
||||
],
|
||||
[
|
||||
"[",
|
||||
"]"
|
||||
],
|
||||
[
|
||||
"(",
|
||||
")"
|
||||
]
|
||||
]
|
||||
"comments": {
|
||||
// symbol used for single line comment. Remove this entry if your language does not support line comments
|
||||
"lineComment": "//",
|
||||
// symbols used for start and end a block comment. Remove this entry if your language does not support block comments
|
||||
"blockComment": [
|
||||
"/*",
|
||||
"*/"
|
||||
]
|
||||
},
|
||||
// symbols used as brackets
|
||||
"brackets": [
|
||||
[
|
||||
"{",
|
||||
"}"
|
||||
],
|
||||
[
|
||||
"[",
|
||||
"]"
|
||||
],
|
||||
[
|
||||
"(",
|
||||
")"
|
||||
]
|
||||
]
|
||||
}
|
|
@ -1,77 +1,77 @@
|
|||
{
|
||||
"name": "vscode-markdown",
|
||||
"displayName": "VS Code Markdown",
|
||||
"description": "Markdown for VS Code",
|
||||
"version": "0.2.0",
|
||||
"publisher": "Microsoft",
|
||||
"engines": {
|
||||
"vscode": "^1.0.0"
|
||||
},
|
||||
"main": "./out/extension",
|
||||
"categories": [
|
||||
"Languages"
|
||||
],
|
||||
"activationEvents": [
|
||||
"onCommand:extension.previewMarkdown",
|
||||
"onCommand:extension.previewMarkdownSide"
|
||||
],
|
||||
"contributes": {
|
||||
"languages": [
|
||||
{
|
||||
"id": "markdown",
|
||||
"aliases": [
|
||||
"Markdown",
|
||||
"markdown"
|
||||
],
|
||||
"extensions": [
|
||||
".md",
|
||||
".mdown",
|
||||
".markdown",
|
||||
".markdn"
|
||||
],
|
||||
"configuration": "./markdown.configuration.json"
|
||||
}
|
||||
],
|
||||
"grammars": [
|
||||
{
|
||||
"language": "markdown",
|
||||
"scopeName": "text.html.markdown",
|
||||
"path": "./syntaxes/markdown.tmLanguage"
|
||||
}
|
||||
],
|
||||
"commands": [
|
||||
{
|
||||
"command": "extension.previewMarkdown",
|
||||
"title": "%markdown.previewMarkdown.title%"
|
||||
},
|
||||
{
|
||||
"command": "extension.previewMarkdownSide",
|
||||
"title": "%markdown.previewMarkdownSide.title%"
|
||||
}
|
||||
],
|
||||
"keybindings": [
|
||||
{
|
||||
"command": "extension.previewMarkdown",
|
||||
"key": "shift+ctrl+v",
|
||||
"mac": "shift+cmd+v"
|
||||
},
|
||||
{
|
||||
"command": "extension.previewMarkdownSide",
|
||||
"key": "ctrl+k v",
|
||||
"mac": "cmd+k v"
|
||||
}
|
||||
],
|
||||
"snippets": [{
|
||||
"name": "vscode-markdown",
|
||||
"displayName": "VS Code Markdown",
|
||||
"description": "Markdown for VS Code",
|
||||
"version": "0.2.0",
|
||||
"publisher": "Microsoft",
|
||||
"engines": {
|
||||
"vscode": "^1.0.0"
|
||||
},
|
||||
"main": "./out/extension",
|
||||
"categories": [
|
||||
"Languages"
|
||||
],
|
||||
"activationEvents": [
|
||||
"onCommand:extension.previewMarkdown",
|
||||
"onCommand:extension.previewMarkdownSide"
|
||||
],
|
||||
"contributes": {
|
||||
"languages": [
|
||||
{
|
||||
"id": "markdown",
|
||||
"aliases": [
|
||||
"Markdown",
|
||||
"markdown"
|
||||
],
|
||||
"extensions": [
|
||||
".md",
|
||||
".mdown",
|
||||
".markdown",
|
||||
".markdn"
|
||||
],
|
||||
"configuration": "./markdown.configuration.json"
|
||||
}
|
||||
],
|
||||
"grammars": [
|
||||
{
|
||||
"language": "markdown",
|
||||
"scopeName": "text.html.markdown",
|
||||
"path": "./syntaxes/markdown.tmLanguage"
|
||||
}
|
||||
],
|
||||
"commands": [
|
||||
{
|
||||
"command": "extension.previewMarkdown",
|
||||
"title": "%markdown.previewMarkdown.title%"
|
||||
},
|
||||
{
|
||||
"command": "extension.previewMarkdownSide",
|
||||
"title": "%markdown.previewMarkdownSide.title%"
|
||||
}
|
||||
],
|
||||
"keybindings": [
|
||||
{
|
||||
"command": "extension.previewMarkdown",
|
||||
"key": "shift+ctrl+v",
|
||||
"mac": "shift+cmd+v"
|
||||
},
|
||||
{
|
||||
"command": "extension.previewMarkdownSide",
|
||||
"key": "ctrl+k v",
|
||||
"mac": "cmd+k v"
|
||||
}
|
||||
],
|
||||
"snippets": [{
|
||||
"language": "markdown",
|
||||
"path": "./snippets/markdown.json"
|
||||
}]
|
||||
},
|
||||
},
|
||||
"scripts": {
|
||||
"vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.js compile-extension:markdown ./tsconfig.json"
|
||||
},
|
||||
"dependencies": {
|
||||
"highlight.js": "^9.3.0",
|
||||
"markdown-it": "^6.0.1",
|
||||
"markdown-it-named-headers": "0.0.4"
|
||||
}
|
||||
"dependencies": {
|
||||
"highlight.js": "^9.3.0",
|
||||
"markdown-it": "^6.0.1",
|
||||
"markdown-it-named-headers": "0.0.4"
|
||||
}
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"markdown.previewMarkdown.title" : "Markdown: Toggle Preview",
|
||||
"markdown.previewMarkdownSide.title" : "Markdown: Open Preview to the Side"
|
||||
"markdown.previewMarkdown.title" : "Markdown: Toggle Preview",
|
||||
"markdown.previewMarkdownSide.title" : "Markdown: Open Preview to the Side"
|
||||
}
|
|
@ -1177,17 +1177,17 @@
|
|||
(\*\*|__)(?=\S) # Open
|
||||
(?=
|
||||
(
|
||||
<[^>]*+> # HTML tags
|
||||
<[^>]*+> # HTML tags
|
||||
| (?<raw>`+)([^`]|(?!(?<!`)\k<raw>(?!`))`)*+\k<raw>
|
||||
# Raw
|
||||
| \\[\\`*_{}\[\]()#.!+\->]?+ # Escapes
|
||||
| \[
|
||||
(
|
||||
(?<square> # Named group
|
||||
(?<square> # Named group
|
||||
[^\[\]\\] # Match most chars
|
||||
| \\. # Escaped chars
|
||||
| \[ \g<square>*+ \] # Nested brackets
|
||||
)*+
|
||||
| \\. # Escaped chars
|
||||
| \[ \g<square>*+ \] # Nested brackets
|
||||
)*+
|
||||
\]
|
||||
(
|
||||
( # Reference Link
|
||||
|
@ -1458,17 +1458,17 @@
|
|||
(\*|_)(?=\S) # Open
|
||||
(?=
|
||||
(
|
||||
<[^>]*+> # HTML tags
|
||||
<[^>]*+> # HTML tags
|
||||
| (?<raw>`+)([^`]|(?!(?<!`)\k<raw>(?!`))`)*+\k<raw>
|
||||
# Raw
|
||||
| \\[\\`*_{}\[\]()#.!+\->]?+ # Escapes
|
||||
| \[
|
||||
(
|
||||
(?<square> # Named group
|
||||
(?<square> # Named group
|
||||
[^\[\]\\] # Match most chars
|
||||
| \\. # Escaped chars
|
||||
| \[ \g<square>*+ \] # Nested brackets
|
||||
)*+
|
||||
| \\. # Escaped chars
|
||||
| \[ \g<square>*+ \] # Nested brackets
|
||||
)*+
|
||||
\]
|
||||
(
|
||||
( # Reference Link
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es5",
|
||||
"outDir": "out",
|
||||
"noLib": true,
|
||||
"sourceMap": true,
|
||||
"rootDir": "."
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
]
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es5",
|
||||
"outDir": "out",
|
||||
"noLib": true,
|
||||
"sourceMap": true,
|
||||
"rootDir": "."
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue