Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.66 KB
/
Copy pathpackage.json
File metadata and controls
89 lines (89 loc) · 2.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "docstring-highlighter-python",
"displayName": "docstring-highlighter-python",
"description": "Markdown syntax highlighting, including code blocks, inside Python docstrings.",
"version": "0.1.3",
"publisher": "pavel-kirienko",
"license": "MIT",
"main": "./dist/extension.js",
"activationEvents": [
"onLanguage:python"
],
"repository": {
"type": "git",
"url": "https://github.com/Zubax/vscode-docstring-highlighter-python"
},
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Programming Languages"
],
"keywords": [
"python",
"docstring",
"markdown",
"syntax highlighting"
],
"capabilities": {
"virtualWorkspaces": true,
"untrustedWorkspaces": {
"supported": true
}
},
"contributes": {
"grammars": [
{
"scopeName": "docstring-highlighter-python.injection",
"path": "./syntaxes/docstring-highlighter-python.tmLanguage.json",
"injectTo": [
"source.python"
]
},
{
"scopeName": "docstring-highlighter-python-code-fallback.injection",
"path": "./syntaxes/docstring-highlighter-python-code-fallback.tmLanguage.json",
"injectTo": [
"source.python"
],
"embeddedLanguages": {
"meta.embedded.block.python.docstring-highlighter-python": "python"
},
"tokenTypes": {
"meta.embedded.block.python.docstring-highlighter-python": "other"
}
},
{
"scopeName": "docstring-highlighter-python-code-plain.injection",
"path": "./syntaxes/docstring-highlighter-python-code-plain.tmLanguage.json",
"injectTo": [
"source.python"
],
"embeddedLanguages": {
"meta.embedded.block.plaintext.docstring-highlighter-python": "plaintext"
},
"tokenTypes": {
"meta.embedded.block.plaintext.docstring-highlighter-python": "other"
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run build",
"build": "node scripts/generate-grammar.cjs && esbuild src/extension.js --bundle --platform=node --format=cjs --external:vscode --minify-whitespace --outfile=dist/extension.js && node scripts/copy-parser-wasm.cjs",
"check": "node scripts/check-generated.cjs && node scripts/test-code-blocks.cjs && node scripts/test-grammar.cjs",
"test": "npm run check",
"package": "vsce package"
},
"devDependencies": {
"@vscode/vsce": "^3.9.2",
"esbuild": "^0.28.2",
"vscode-oniguruma": "^2.0.1",
"vscode-textmate": "^9.3.2"
},
"dependencies": {
"@lezer/markdown": "^1.7.2",
"tree-sitter-python": "^0.25.0",
"web-tree-sitter": "^0.27.0"
}
}