21 lines
451 B
YAML
21 lines
451 B
YAML
name: markdown
|
|
functions:
|
|
toggle:
|
|
path: "./markdown.ts:togglePreview"
|
|
command:
|
|
name: "Markdown Preview: Toggle"
|
|
key: Ctrl-p
|
|
mac: Cmd-p
|
|
preview:
|
|
path: "./preview.ts:updateMarkdownPreview"
|
|
env: client
|
|
events:
|
|
- plug:load
|
|
- editor:updated
|
|
- editor:pageLoaded
|
|
- editor:pageReloaded
|
|
switchSide:
|
|
path: "./preview.ts:switchSide"
|
|
command:
|
|
name: "Markdown Preview: Switch Side"
|