|
168 | 168 | "command": "vscode.didact.startDidact", |
169 | 169 | "key": "ctrl+shift+v", |
170 | 170 | "mac": "cmd+shift+v", |
171 | | - "when": "editorFocus && resourceFilename =~ /[.](didact)[.](md|adoc)$/" |
| 171 | + "when": "editorFocus && resourceFilename =~ /[.](didact)[.](md|adoc|yaml)$/" |
172 | 172 | }, |
173 | 173 | { |
174 | 174 | "command": "vscode.didact.copyTextToCLI", |
|
181 | 181 | "explorer/context": [ |
182 | 182 | { |
183 | 183 | "command": "vscode.didact.startDidact", |
184 | | - "when": "resourceFilename =~ /[.](didact)[.](md|adoc)$/", |
| 184 | + "when": "resourceFilename =~ /[.](didact)[.](md|adoc|yaml)$/", |
185 | 185 | "group": "vscode.didact.group@1" |
186 | 186 | }, |
187 | 187 | { |
|
231 | 231 | ], |
232 | 232 | "editor/title": [ |
233 | 233 | { |
234 | | - "when": "resourceFilename =~ /[.](didact)[.](md|adoc)$/", |
| 234 | + "when": "resourceFilename =~ /[.](didact)[.](md|adoc|yaml)$/", |
235 | 235 | "command": "vscode.didact.verifyCommands", |
236 | 236 | "alt": "vscode.didact.verifyCommands", |
237 | 237 | "group": "didact.editor" |
|
292 | 292 | }, |
293 | 293 | "dependencies": { |
294 | 294 | "@types/download": "^6.2.4", |
| 295 | + "@types/js-yaml": "^4.0.1", |
295 | 296 | "@types/markdown-it": "^12.0.1", |
296 | 297 | "@types/request-promise": "^4.1.47", |
297 | 298 | "asciidoctor": "^2.2.4", |
298 | 299 | "async-wait-until": "2.0.5", |
299 | 300 | "base-64": "^1.0.0", |
300 | 301 | "download": "^8.0.0", |
301 | 302 | "glob": "^7.1.6", |
| 303 | + "js-base64": "^3.6.0", |
| 304 | + "js-yaml": "^3.14.1", |
302 | 305 | "markdown-it": "^12.0.6", |
303 | 306 | "markdown-it-attrs": "^4.0.0", |
304 | 307 | "markdown-it-task-lists": "^2.1.1", |
|
0 commit comments