markdown-design-doc-viewer 0.0.0-stage → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,58 @@
1
+ {
2
+ "@ref is ignored because the sequence diagram has no \"%% @link-headings\" marker.": "シーケンス図に \"%% @link-headings\" がないため、@ref は無視されます。",
3
+ "@link-headings is ignored for a sequence diagram inside a list or blockquote.": "リストや引用の中にあるシーケンス図では @link-headings は無視されます。",
4
+ "@ref target heading \"{0}\" was not found after the sequence diagram.": "@ref で指定した見出し「{0}」がシーケンス図の後ろに見つかりません。",
5
+ "⚠ Line {0}: {1}": "⚠ {0} 行目: {1}",
6
+ "No arrow in the sequence diagram is linked to this heading.": "シーケンス図にこの見出しと紐付いた矢印がありません。",
7
+ "no arrow": "矢印なし",
8
+ "Drag to resize, double-click to reset": "ドラッグで幅を変更、ダブルクリックで元に戻す",
9
+ "Open a Markdown file to preview it.": "プレビューする Markdown ファイルを開いてください。",
10
+ "Preview {0}": "プレビュー {0}",
11
+ "Hide warnings": "警告を隠す",
12
+ "Contents": "目次",
13
+ "Zoom diagram": "図を拡大表示",
14
+ "Zoom image": "画像を拡大表示",
15
+ "Zoom in": "拡大",
16
+ "Zoom out": "縮小",
17
+ "Fit to window": "全体を表示",
18
+ "Close": "閉じる",
19
+ "Open a Markdown file to export it.": "エクスポートする Markdown ファイルを開いてください。",
20
+ "Export Design Doc as HTML": "設計書を HTML にエクスポート",
21
+ "Exporting {0}...": "{0} をエクスポートしています...",
22
+ "Could not export the design doc: {0}": "設計書をエクスポートできませんでした: {0}",
23
+ "Open in Browser": "ブラウザで開く",
24
+ "Exported to {0}.": "{0} にエクスポートしました。",
25
+ "The preview was closed.": "プレビューが閉じられました。",
26
+ "The preview did not respond.": "プレビューから応答がありませんでした。",
27
+ "No arrow in the sequence diagram is linked to a heading. Write the steps as headings after the diagram, with the same text as the arrows.": "シーケンス図のどの矢印も見出しと紐付いていません。処理概要を、矢印と同じ文言の見出しとして図の後ろに書いてください。",
28
+ "Arrow \"{0}\" is not linked to any heading. Add a heading with the same text after the diagram, or write \"%% @ref <heading>\" above the arrow.": "矢印「{0}」がどの見出しとも紐付いていません。同じ文言の見出しを図の後ろに追加するか、矢印の直前に \"%% @ref <見出し>\" を書いてください。",
29
+ "Link to heading \"{0}\" with @ref": "@ref で見出し「{0}」に紐付ける",
30
+ "Change @ref to heading \"{0}\"": "@ref を見出し「{0}」に変更する",
31
+ "Add heading \"{0}\" to the overview": "見出し「{0}」を処理概要に追加する",
32
+ "Link arrow \"{0}\" to this heading with @ref": "矢印「{0}」を @ref でこの見出しに紐付ける",
33
+ "Already linked to an arrow": "矢印と紐付け済み",
34
+ "No arrow linked yet": "まだ矢印と紐付いていない",
35
+ "Show this sequence diagram side by side with the step headings after it.": "このシーケンス図を、後ろにある処理概要の見出しと横並びで表示します。",
36
+ "Link the next arrow to a heading.": "直後の矢印を見出しに紐付けます。",
37
+ "No arrow in the sequence diagram is linked to heading \"{0}\".": "シーケンス図に見出し「{0}」と紐付いた矢印がありません。",
38
+ "@ref is ignored because the flowchart has no \"%% @link-headings\" marker.": "フローチャートに \"%% @link-headings\" がないため、@ref は無視されます。",
39
+ "@link-headings is ignored for a flowchart inside a list or blockquote.": "リストや引用の中にあるフローチャートでは @link-headings は無視されます。",
40
+ "@ref target heading \"{0}\" was not found after the flowchart.": "@ref で指定した見出し「{0}」がフローチャートの後ろに見つかりません。",
41
+ "No node in the flowchart is linked to this heading.": "フローチャートにこの見出しと紐付いたノードがありません。",
42
+ "no node": "ノードなし",
43
+ "No node in the flowchart is linked to a heading. Write the steps as headings after the diagram, with the same text as the nodes.": "フローチャートのどのノードも見出しと紐付いていません。処理概要を、ノードと同じ文言の見出しとして図の後ろに書いてください。",
44
+ "Node \"{0}\" is not linked to any heading. Add a heading with the same text after the diagram, or write \"%% @ref <heading>\" above the node.": "ノード「{0}」がどの見出しとも紐付いていません。同じ文言の見出しを図の後ろに追加するか、ノードを書いた行の直前に \"%% @ref <見出し>\" を書いてください。",
45
+ "No node in the flowchart is linked to heading \"{0}\".": "フローチャートに見出し「{0}」と紐付いたノードがありません。",
46
+ "Link node \"{0}\" to this heading with @ref": "ノード「{0}」を @ref でこの見出しに紐付ける",
47
+ "Already linked to a node": "ノードと紐付け済み",
48
+ "No node linked yet": "まだノードと紐付いていない",
49
+ "Show this flowchart with the step headings after it and link its nodes to them (side by side, or below a horizontal flowchart).": "このフローチャートを、後ろにある処理概要の見出しと並べて表示し、ノードと紐付けます(横並び。横向きの図では処理概要を下に表示します)。",
50
+ "Link the node defined on the next line to a heading.": "直後の行で定義したノードを見出しに紐付けます。",
51
+ "\"%% @seq-notes\" is no longer supported. Write \"%% @link-headings\" instead.": "\"%% @seq-notes\" は使えなくなりました。代わりに \"%% @link-headings\" を書いてください。",
52
+ "\"<!-- seq-notes:end -->\" is no longer supported. Write \"<!-- link-headings:end -->\" instead.": "\"<!-- seq-notes:end -->\" は使えなくなりました。代わりに \"<!-- link-headings:end -->\" を書いてください。",
53
+ "Version": "版数",
54
+ "Product": "プロダクト",
55
+ "Status": "ステータス",
56
+ "Updated": "更新日",
57
+ "Other metadata ({0})": "その他のメタ情報({0})"
58
+ }
package/package.json CHANGED
@@ -1,6 +1,255 @@
1
1
  {
2
2
  "name": "markdown-design-doc-viewer",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "displayName": "%displayName%",
4
+ "description": "%description%",
5
+ "version": "0.4.0",
6
+ "publisher": "playree",
7
+ "license": "MIT",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/playree/markdown-design-doc-viewer.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/playree/markdown-design-doc-viewer/issues"
14
+ },
15
+ "homepage": "https://github.com/playree/markdown-design-doc-viewer#readme",
16
+ "icon": "images/icon.png",
17
+ "l10n": "./l10n",
18
+ "engines": {
19
+ "vscode": "^1.100.0",
20
+ "node": ">=22"
21
+ },
22
+ "categories": [
23
+ "Visualization",
24
+ "Other"
25
+ ],
26
+ "keywords": [
27
+ "markdown",
28
+ "mermaid",
29
+ "sequence diagram",
30
+ "flowchart",
31
+ "design document",
32
+ "preview"
33
+ ],
34
+ "main": "./dist/extension.js",
35
+ "bin": {
36
+ "md-design-doc": "dist/cli.js"
37
+ },
38
+ "activationEvents": [
39
+ "onLanguage:markdown",
40
+ "onWebviewPanel:mdDesignDoc.preview"
41
+ ],
42
+ "contributes": {
43
+ "commands": [
44
+ {
45
+ "command": "mdDesignDoc.openPreview",
46
+ "title": "%mdDesignDoc.openPreview.title%",
47
+ "category": "%category%",
48
+ "icon": "$(open-preview)"
49
+ },
50
+ {
51
+ "command": "mdDesignDoc.openPreviewToSide",
52
+ "title": "%mdDesignDoc.openPreviewToSide.title%",
53
+ "category": "%category%",
54
+ "icon": "$(open-preview)"
55
+ },
56
+ {
57
+ "command": "mdDesignDoc.exportHtml",
58
+ "title": "%mdDesignDoc.exportHtml.title%",
59
+ "category": "%category%"
60
+ },
61
+ {
62
+ "command": "mdDesignDoc.useFullContentWidth",
63
+ "title": "%mdDesignDoc.useFullContentWidth.title%",
64
+ "category": "%category%",
65
+ "icon": "$(screen-full)"
66
+ },
67
+ {
68
+ "command": "mdDesignDoc.limitContentWidth",
69
+ "title": "%mdDesignDoc.limitContentWidth.title%",
70
+ "category": "%category%",
71
+ "icon": "$(screen-normal)"
72
+ },
73
+ {
74
+ "command": "mdDesignDoc.toggleTheme",
75
+ "title": "%mdDesignDoc.toggleTheme.title%",
76
+ "category": "%category%",
77
+ "icon": "$(color-mode)"
78
+ }
79
+ ],
80
+ "customEditors": [
81
+ {
82
+ "viewType": "mdDesignDoc.editor",
83
+ "displayName": "%mdDesignDoc.editor.displayName%",
84
+ "selector": [
85
+ {
86
+ "filenamePattern": "*.md"
87
+ },
88
+ {
89
+ "filenamePattern": "*.markdown"
90
+ }
91
+ ],
92
+ "priority": "option"
93
+ }
94
+ ],
95
+ "menus": {
96
+ "editor/title": [
97
+ {
98
+ "command": "mdDesignDoc.openPreviewToSide",
99
+ "when": "editorLangId == markdown",
100
+ "group": "navigation"
101
+ },
102
+ {
103
+ "command": "mdDesignDoc.useFullContentWidth",
104
+ "when": "(activeWebviewPanelId == 'mdDesignDoc.preview' || activeCustomEditorId == 'mdDesignDoc.editor') && config.mdDesignDoc.limitContentWidth",
105
+ "group": "navigation"
106
+ },
107
+ {
108
+ "command": "mdDesignDoc.limitContentWidth",
109
+ "when": "(activeWebviewPanelId == 'mdDesignDoc.preview' || activeCustomEditorId == 'mdDesignDoc.editor') && !config.mdDesignDoc.limitContentWidth",
110
+ "group": "navigation"
111
+ },
112
+ {
113
+ "command": "mdDesignDoc.toggleTheme",
114
+ "when": "activeWebviewPanelId == 'mdDesignDoc.preview' || activeCustomEditorId == 'mdDesignDoc.editor'",
115
+ "group": "navigation"
116
+ }
117
+ ],
118
+ "commandPalette": [
119
+ {
120
+ "command": "mdDesignDoc.openPreview",
121
+ "when": "editorLangId == markdown"
122
+ },
123
+ {
124
+ "command": "mdDesignDoc.openPreviewToSide",
125
+ "when": "editorLangId == markdown"
126
+ },
127
+ {
128
+ "command": "mdDesignDoc.exportHtml",
129
+ "when": "editorLangId == markdown || activeWebviewPanelId == 'mdDesignDoc.preview' || activeCustomEditorId == 'mdDesignDoc.editor'"
130
+ },
131
+ {
132
+ "command": "mdDesignDoc.useFullContentWidth",
133
+ "when": "(activeWebviewPanelId == 'mdDesignDoc.preview' || activeCustomEditorId == 'mdDesignDoc.editor') && config.mdDesignDoc.limitContentWidth"
134
+ },
135
+ {
136
+ "command": "mdDesignDoc.limitContentWidth",
137
+ "when": "(activeWebviewPanelId == 'mdDesignDoc.preview' || activeCustomEditorId == 'mdDesignDoc.editor') && !config.mdDesignDoc.limitContentWidth"
138
+ },
139
+ {
140
+ "command": "mdDesignDoc.toggleTheme",
141
+ "when": "activeWebviewPanelId == 'mdDesignDoc.preview' || activeCustomEditorId == 'mdDesignDoc.editor'"
142
+ }
143
+ ],
144
+ "webview/context": [
145
+ {
146
+ "command": "mdDesignDoc.exportHtml",
147
+ "when": "webviewId == 'mdDesignDoc.preview' || webviewId == 'mdDesignDoc.editor'"
148
+ }
149
+ ]
150
+ },
151
+ "configuration": {
152
+ "title": "%displayName%",
153
+ "properties": {
154
+ "mdDesignDoc.splitMinWidth": {
155
+ "type": "number",
156
+ "default": 1000,
157
+ "minimum": 0,
158
+ "description": "%mdDesignDoc.splitMinWidth.description%"
159
+ },
160
+ "mdDesignDoc.limitContentWidth": {
161
+ "type": "boolean",
162
+ "default": true,
163
+ "description": "%mdDesignDoc.limitContentWidth.description%"
164
+ },
165
+ "mdDesignDoc.stickyTableHeader": {
166
+ "type": "boolean",
167
+ "default": true,
168
+ "description": "%mdDesignDoc.stickyTableHeader.description%"
169
+ },
170
+ "mdDesignDoc.syncEditor": {
171
+ "type": "boolean",
172
+ "default": true,
173
+ "description": "%mdDesignDoc.syncEditor.description%"
174
+ },
175
+ "mdDesignDoc.toc": {
176
+ "type": "boolean",
177
+ "default": true,
178
+ "description": "%mdDesignDoc.toc.description%"
179
+ },
180
+ "mdDesignDoc.headingNumbers": {
181
+ "type": "boolean",
182
+ "default": true,
183
+ "description": "%mdDesignDoc.headingNumbers.description%"
184
+ },
185
+ "mdDesignDoc.frontMatter": {
186
+ "type": "boolean",
187
+ "default": true,
188
+ "description": "%mdDesignDoc.frontMatter.description%"
189
+ },
190
+ "mdDesignDoc.diagramLook": {
191
+ "type": "string",
192
+ "enum": [
193
+ "neo",
194
+ "classic"
195
+ ],
196
+ "enumDescriptions": [
197
+ "%mdDesignDoc.diagramLook.neo%",
198
+ "%mdDesignDoc.diagramLook.classic%"
199
+ ],
200
+ "default": "neo",
201
+ "description": "%mdDesignDoc.diagramLook.description%"
202
+ },
203
+ "mdDesignDoc.theme": {
204
+ "type": "string",
205
+ "enum": [
206
+ "auto",
207
+ "light",
208
+ "dark"
209
+ ],
210
+ "enumDescriptions": [
211
+ "%mdDesignDoc.theme.auto%",
212
+ "%mdDesignDoc.theme.light%",
213
+ "%mdDesignDoc.theme.dark%"
214
+ ],
215
+ "default": "auto",
216
+ "description": "%mdDesignDoc.theme.description%"
217
+ },
218
+ "mdDesignDoc.diagnostics": {
219
+ "type": "boolean",
220
+ "default": true,
221
+ "scope": "resource",
222
+ "description": "%mdDesignDoc.diagnostics.description%"
223
+ }
224
+ }
225
+ }
226
+ },
227
+ "scripts": {
228
+ "build": "node esbuild.mjs",
229
+ "watch": "node esbuild.mjs --watch",
230
+ "typecheck": "tsc --noEmit",
231
+ "test": "vitest run",
232
+ "screenshots": "node esbuild.mjs && esbuild scripts/screenshots.ts --bundle --platform=node --format=cjs --external:playwright-core --log-level=warning --outfile=dist/screenshots.cjs && node dist/screenshots.cjs",
233
+ "vscode:prepublish": "node esbuild.mjs --production",
234
+ "package": "vsce package --no-dependencies",
235
+ "vsce:publish": "vsce publish --no-dependencies",
236
+ "prepack": "node esbuild.mjs --production"
237
+ },
238
+ "dependencies": {
239
+ "playwright-core": "^1.64.0"
240
+ },
241
+ "devDependencies": {
242
+ "@types/node": "^22.20.5",
243
+ "@types/vscode": "~1.100.0",
244
+ "@vscode/vsce": "^4.0.0",
245
+ "dompurify": "^3.4.16",
246
+ "esbuild": "^0.28.2",
247
+ "highlight.js": "^11.12.0",
248
+ "markdown-it": "^15.0.2",
249
+ "markdown-it-footnote": "^4.0.0",
250
+ "mermaid": "^12.1.0",
251
+ "typescript": "^7.0.2",
252
+ "vitest": "^5.0.3"
253
+ },
254
+ "packageManager": "pnpm@12.3.4"
255
+ }