Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 3.34 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 3.34 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-appealing",
"displayName": "Markdown Appealing",
"description": "Beautiful markdown preview with multiple themes, dark/light toggle, and sidebar table of contents navigation.",
"version": "0.10.1",
"publisher": "rayeddev",
"repository": {
"type": "git",
"url": "https://github.com/rayeddev/markdown-appealing"
},
"license": "MIT",
"icon": "media/icon.png",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:markdown"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "markdownAppealing.openPreview",
"title": "Markdown Appealing: Open Preview"
},
{
"command": "markdownAppealing.switchTheme",
"title": "Markdown Appealing: Switch Theme"
},
{
"command": "markdownAppealing.toggleDarkMode",
"title": "Markdown Appealing: Toggle Dark/Light Mode"
},
{
"command": "markdownAppealing.toggleFullscreen",
"title": "Markdown Appealing: Toggle Fullscreen"
}
],
"configuration": {
"title": "Markdown Appealing",
"properties": {
"markdownAppealing.fontFamily": {
"type": "string",
"default": "",
"description": "Font family for body text in the preview. Leave empty to use theme default."
},
"markdownAppealing.headingFontFamily": {
"type": "string",
"default": "",
"description": "Font family for headings in the preview. Leave empty to use theme default."
},
"markdownAppealing.codeFontFamily": {
"type": "string",
"default": "",
"description": "Font family for code blocks in the preview. Leave empty to use editor.fontFamily."
},
"markdownAppealing.fontSize": {
"type": "number",
"default": 0,
"minimum": 0,
"maximum": 40,
"description": "Font size in pixels for body text. Set to 0 to use theme default."
},
"markdownAppealing.codeFontSize": {
"type": "number",
"default": 0,
"minimum": 0,
"maximum": 40,
"description": "Font size in pixels for code blocks. Set to 0 to use editor font size."
}
}
},
"keybindings": [
{
"command": "markdownAppealing.openPreview",
"key": "ctrl+shift+v",
"mac": "cmd+shift+v",
"when": "editorLangId == markdown || resourceExtname =~ /\\.(md|mkd|mdwn|mdown|markdown|mdx)/i"
}
]
},
"scripts": {
"copy:mermaid": "mkdir -p vendor && cp node_modules/mermaid/dist/mermaid.min.js vendor/mermaid.min.js",
"vscode:prepublish": "npm run copy:mermaid && npm run bundle",
"bundle": "esbuild src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node --sourcemap",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"watch:bundle": "npm run bundle -- --watch",
"lint": "eslint src --ext ts"
},
"devDependencies": {
"@types/markdown-it": "^14.1.2",
"@types/node": "^20.11.0",
"@types/vscode": "^1.85.0",
"esbuild": "^0.28.0",
"eslint": "^8.56.0",
"typescript": "^5.3.3"
},
"dependencies": {
"highlight.js": "^11.11.1",
"markdown-it": "^14.1.0",
"mermaid": "^11.14.0"
}
}