-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.38 KB
/
package.json
File metadata and controls
87 lines (87 loc) · 2.38 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
{
"name": "markdown-preview-export",
"displayName": "markdown-preview-export",
"description": "Export the contents of the markdown preview editor as HTML",
"version": "0.0.3",
"icon": "assets/icon.svg"
"publisher": "jonlester",
"repository": "https://github.com/jonlester/vscode-markdown-preview-export",
"engines": {
"vscode": "^1.100.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"markdown.markdownItPlugins": true,
"commands": [
{
"command": "markdown.exportPreview",
"title": "Export Preview",
"category": "Markdown",
"icon": "$(export)"
},
{
"command": "markdown.cancelPreviewExport",
"title": "Cancel Markdown Preview Export"
}
],
"menus": {
"editor/title": [
{
"command": "markdown.exportPreview",
"when": "(activeWebviewPanelId == 'markdown.preview' || activeCustomEditorId == 'vscode.markdown.preview.editor') && markdownPreviewExport.hasProvider",
"group": "navigation"
}
]
},
"configuration": {
"type": "object",
"title": "Markdown Preview Export",
"properties": {
"markdownPreviewExport.embedLocalImages": {
"type": "boolean",
"default": true,
"description": "Embed local images as data URIs in the exported HTML. Remote and existing data URI images are left unchanged."
},
"markdownPreviewExport.outputMode": {
"type": "string",
"default": "temp",
"description": "Controls where exported Markdown preview HTML files are saved.",
"enum": [
"temp",
"besideMarkdown",
"ask"
],
"enumDescriptions": [
"Save to the system temporary folder.",
"Save next to the current Markdown file.",
"Ask where to save each export."
]
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/markdown-it": "^14.1.2",
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@types/vscode": "^1.100.0",
"@typescript-eslint/eslint-plugin": "^8.31.1",
"@typescript-eslint/parser": "^8.31.1",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.5.2",
"eslint": "^9.25.1",
"typescript": "^5.8.3"
}
}