Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
273 lines (273 loc) · 7.51 KB
/
Copy pathpackage.json
File metadata and controls
273 lines (273 loc) · 7.51 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
{
"name": "slideshow",
"displayName": "SlideShow",
"description": "Live-preview and export Markdown as stunning web-based slides. Built for developers who prefer code over PowerPoint",
"version": "0.1.0",
"icon": "asserts/icon.png",
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Other",
"Visualization"
],
"galleryBanner": {
"color": "#1a1a2e",
"theme": "dark"
},
"activationEvents": [
"*"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "md2slide.showPreview",
"title": "MD2Slide: Open Presentation Preview",
"icon": "$(eye)"
},
{
"command": "md2slide.showPreviewSplit",
"title": "MD2Slide: Open Split Preview",
"icon": "$(split-horizontal)"
},
{
"command": "md2slide.showPreviewWindow",
"title": "MD2Slide: Open Preview in New Window",
"icon": "$(empty-window)"
},
{
"command": "md2slide.closePreview",
"title": "MD2Slide: Return to Markdown Editor",
"icon": "$(edit)"
},
{
"command": "md2slide.exportHtml",
"title": "MD2Slide: Export to Standalone HTML"
},
{
"command": "md2slide.toggleOverview",
"title": "MD2Slide: Toggle Slide Overview"
},
{
"command": "md2slide.outline.gotoSlide",
"title": "Go to Slide",
"icon": "$(go-to-file)"
},
{
"command": "md2slide.refreshOutline",
"title": "MD2Slide: Refresh Outline",
"icon": "$(refresh)"
},
{
"command": "md2slide.insertComponent",
"title": "MD2Slide: Insert Component",
"icon": "$(add)"
}
],
"menus": {
"editor/title": [
{
"command": "md2slide.showPreview",
"when": "editorLangId == markdown && resourceExtname == .md && !md2slide.previewActive",
"group": "navigation"
},
{
"command": "md2slide.showPreviewSplit",
"when": "editorLangId == markdown && resourceExtname == .md && !md2slide.previewActive",
"group": "navigation"
},
{
"command": "md2slide.showPreviewWindow",
"when": "editorLangId == markdown && resourceExtname == .md && !md2slide.previewActive",
"group": "navigation"
},
{
"command": "md2slide.closePreview",
"when": "activeWebviewPanelId == md2slide.preview",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "md2slide.showPreview",
"when": "view == workbench.view.explorer && resourceExtname == .md",
"group": "inline"
}
],
"explorer/context": [
{
"command": "md2slide.showPreview",
"when": "resourceExtname == .md",
"group": "1_md2slide@1"
},
{
"command": "md2slide.showPreviewSplit",
"when": "resourceExtname == .md",
"group": "1_md2slide@2"
},
{
"command": "md2slide.showPreviewWindow",
"when": "resourceExtname == .md",
"group": "1_md2slide@3"
}
],
"view/title": [
{
"command": "md2slide.refreshOutline",
"when": "view == md2slideOutline",
"group": "navigation"
}
]
},
"keybindings": [
{
"command": "md2slide.showPreview",
"key": "ctrl+shift+m",
"mac": "cmd+shift+m",
"when": "editorLangId == markdown"
},
{
"command": "md2slide.toggleOverview",
"key": "ctrl+shift+o",
"mac": "cmd+shift+o",
"when": "md2slide.previewActive"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "md2slide",
"title": "MD2Slide",
"icon": "$(notebook)"
}
]
},
"views": {
"md2slide": [
{
"id": "md2slideComponentList",
"name": "Quick Insert"
},
{
"id": "md2slideOutline",
"name": "Slides Outline"
}
]
},
"configuration": {
"title": "Markdown to Slide",
"properties": {
"md2slide.logo": {
"type": "string",
"default": "",
"description": "Default logo path or URL shown on every slide. Supports local paths (relative to the markdown file) and http/https URLs."
},
"md2slide.logoPosition": {
"type": "string",
"default": "top-right",
"enum": [
"top-left",
"top-right",
"bottom-left",
"bottom-right"
],
"description": "Default position for the logo and title overlay on slides."
},
"md2slide.presentationTitle": {
"type": "string",
"default": "",
"description": "Default presentation title shown on every slide."
},
"md2slide.backgroundColor": {
"type": "string",
"default": "",
"description": "Default background color for all slides (CSS color value)."
},
"md2slide.backgroundImage": {
"type": "string",
"default": "",
"description": "Default background image URL or local path for all slides."
},
"md2slide.backgroundSize": {
"type": "string",
"default": "cover",
"description": "Default background size (cover, contain, auto, etc.)."
},
"md2slide.backgroundPosition": {
"type": "string",
"default": "center",
"description": "Default background position (CSS background-position value)."
},
"md2slide.backgroundRepeat": {
"type": "string",
"default": "no-repeat",
"description": "Default background repeat (no-repeat, repeat, repeat-x, repeat-y)."
},
"md2slide.backgroundOpacity": {
"type": "number",
"default": 1.0,
"description": "Default background opacity (0.0 to 1.0)."
},
"md2slide.theme": {
"type": "string",
"default": "black",
"enum": [
"black",
"white",
"league",
"beige",
"night",
"serif",
"simple"
],
"description": "Reveal.js visual theme."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "tsc --noEmit && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:tsc": "tsc --watch --noEmit",
"watch:esbuild": "node esbuild.js --watch",
"watch-tests": "tsc --watch --noEmit",
"package": "tsc --noEmit && node esbuild.js --production"
},
"dependencies": {
"js-yaml": "^4.1.0",
"markdown-it": "^14.1.0"
},
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@types/markdown-it": "^14.1.0",
"@types/mocha": "^10.0.10",
"@types/node": "^20.19.43",
"@types/vscode": "^1.75.0",
"esbuild": "^0.23.1",
"npm-run-all": "^4.1.5",
"typescript": "^5.5.4"
},
"repository": {
"type": "git",
"url": "https://github.com/StarLorder123/SlideShow.git"
},
"bugs": {
"url": "https://github.com/StarLorder123/SlideShow/issues"
},
"homepage": "https://github.com/StarLorder123/SlideShow#readme",
"keywords": [
"markdown",
"slides",
"presentation",
"revealjs",
"preview",
"html",
"export"
],
"author": "StarLorder123",
"publisher": "StarLorder123",
"license": "MIT",
"type": "commonjs"
}