29 lines
563 B
YAML
29 lines
563 B
YAML
name: markdown
|
|
assets:
|
|
- "assets/*"
|
|
requiredPermissions:
|
|
- fs
|
|
functions:
|
|
toggle:
|
|
path: "./markdown.ts:togglePreview"
|
|
command:
|
|
name: "Markdown Preview: Toggle"
|
|
key: Ctrl-p
|
|
mac: Cmd-p
|
|
|
|
preview:
|
|
path: "./preview.ts:updateMarkdownPreview"
|
|
events:
|
|
- plug:load
|
|
- editor:updated
|
|
- editor:pageLoaded
|
|
- editor:pageReloaded
|
|
previewClickHandler:
|
|
path: "./preview.ts:previewClickHandler"
|
|
events:
|
|
- preview:click
|
|
|
|
markdownWidget:
|
|
path: ./widget.ts:markdownWidget
|
|
codeWidget: markdown
|