Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·137 lines (137 loc) · 3.67 KB
/
Copy pathpackage.json
File metadata and controls
executable file
·137 lines (137 loc) · 3.67 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "markdown-editor",
"displayName": "Markdown Editor",
"icon": "media/logo.png",
"description": "A full-featured WYSIWYG editor for markdown.",
"version": "0.1.22",
"publisher": "zaaack",
"private": true,
"engines": {
"vscode": "^1.47.0"
},
"categories": [
"Programming Languages",
"Other"
],
"keywords": [
"markdown",
"editor",
"wysiwyg",
"typora",
"markdown-previewer",
"markdown-editor"
],
"activationEvents": [
"onCommand:markdown-editor.openEditor",
"onWebviewPanel:markdown-editor",
"onLanguage:markdown",
"onCustomEditor:markdown-editor.customEditor"
],
"repository": {
"type": "git",
"url": "https://github.com/zaaack/vscode-markdown-editor.git"
},
"main": "out/extension.js",
"contributes": {
"commands": [
{
"command": "markdown-editor.openEditor",
"title": "Open with markdown editor",
"category": "markdown-editor"
}
],
"languages": [
{
"id": "markdown",
"extensions": [
".mdc"
]
}
],
"menus": {
"explorer/context": [
{
"when": "resourceLangId == markdown || resourceExtname == .mdc",
"command": "markdown-editor.openEditor",
"group": "navigation"
}
],
"editor/title/context": [
{
"when": "resourceLangId == markdown || resourceExtname == .mdc",
"command": "markdown-editor.openEditor",
"group": "1_open"
}
]
},
"customEditors": [
{
"viewType": "markdown-editor.customEditor",
"displayName": "Markdown Editor",
"selector": [
{
"filenamePattern": "*.md"
},
{
"filenamePattern": "*.markdown"
},
{
"filenamePattern": "*.mdc"
}
],
"priority": "option"
}
],
"configuration": {
"title": "markdown-editor",
"properties": {
"markdown-editor.imageSaveFolder": {
"type": "string",
"default": "assets",
"description": "Save images to which folder when upload in markdown, default relative to the markdown file, you can set to project root via `${projectRoot}/assets`."
},
"markdown-editor.useVscodeThemeColor": {
"type": "boolean",
"default": true,
"description": "Use vscode theme's background color as the markdown editor's background color."
},
"markdown-editor.showLineNumbers": {
"type": "boolean",
"default": true,
"description": "Show line numbers in the left gutter of the markdown editor."
},
"markdown-editor.defaultOpenOutline": {
"type": "boolean",
"default": false,
"description": "Open the outline by default when opening a markdown editor."
},
"markdown-editor.customCss": {
"type": "string",
"default": ""
}
}
},
"keybindings": [
{
"key": "ctrl+shift+alt+m",
"command": "markdown-editor.openEditor",
"mac": "cmd+shift+alt+m",
"when": "editorTextFocus && (editorLangId == markdown || resourceExtname == .mdc)"
}
]
},
"scripts": {
"watch": "foy watch",
"start": "foy watch",
"build": "tsc -p ./ && pnpm --filter media-src build",
"pub": "foy build && npm version patch && vsce package && vsce publish && ovsx publish && git push origin main --tags"
},
"devDependencies": {
"@types/node": "^12.12.0",
"@types/vscode": "^1.47.0",
"esbuild": "^0.28.0",
"foy": "^0.2.5",
"ts-node": "9.1.1",
"typescript": "^4.2.2"
}
}