-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 2.82 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 2.82 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "markdown-highlight-mark",
"displayName": "markdown-highlight-mark",
"description": "Highlight markdown ==...== text",
"version": "0.0.2",
"publisher": "FDscend",
"license": "MIT",
"icon": "./icon.png",
"engines": {
"vscode": "^1.105.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:markdown",
"onNotebook:jupyter-notebook"
],
"main": "./out/extension.js",
"repository": "https://github.com/FDscend/vscode_markdown_highlight",
"contributes": {
"notebookRenderer": [
{
"id": "fdscend.markdown-it-highlight-extension",
"displayName": "Markdown Highlight renderer",
"entrypoint": {
"extends": "vscode.markdown-it-renderer",
"path": "./dist/notebook.mjs"
}
}
],
"markdown.markdownItPlugins": true,
"markdown.previewStyles": [
"./media/highlight.css"
],
"commands": [
{
"command": "markdown-highlight.wrapWithHighlight",
"title": "%command.wrap%",
"category": "Markdown"
},
{
"command": "markdown-highlight.insertEqualsSign",
"title": "%command.insert%",
"category": "Markdown"
}
],
"keybindings": [
{
"command": "markdown-highlight.insertEqualsSign",
"key": "ctrl+shift+=",
"when": "editorTextFocus && (editorLangId == markdown || notebookCellType == markdown)"
}
],
"menus": {
"editor/context": [
{
"command": "markdown-highlight.wrapWithHighlight",
"when": "editorLangId == markdown || notebookCellType == markdown",
"group": "1_modification"
}
]
},
"grammars": [
{
"scopeName": "markdown.highlight.injection",
"path": "./syntaxes/highlight.json",
"injectTo": [
"text.html.markdown"
],
"embeddedLanguages": {
"meta.embedded.block.markdown": "markdown"
}
}
],
"snippets": [
{
"language": "markdown",
"path": "./snippets/highlight.json"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./ && tsup --config tsup.notebook.config.ts",
"watch": "tsup --config tsup.notebook.config.ts && tsc -watch -p ./",
"lint": "eslint src"
},
"devDependencies": {
"@types/markdown-it": "^14.1.2",
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"@types/vscode": "^1.105.0",
"@types/vscode-notebook-renderer": "^1.72.4",
"@typescript-eslint/eslint-plugin": "^8.42.0",
"@typescript-eslint/parser": "^8.42.0",
"@vscode/test-cli": "^0.0.11",
"@vscode/test-electron": "^2.5.2",
"eslint": "^9.34.0",
"tsup": "^8.5.1",
"typescript": "^5.9.2"
},
"dependencies": {
"markdown-it": "^14.1.0",
"marked": "^16.4.1"
}
}