1
0
silverbullet/packages/plugs/markdown/markdown.plug.yaml
Zef Hemel 76636dd9b1 Work
2022-04-26 19:04:36 +02:00

16 lines
317 B
YAML

name: markdown
functions:
toggle:
path: "./markdown.ts:togglePreview"
command:
name: "Toggle Markdown Preview"
key: Ctrl-p
mac: Cmd-p
preview:
path: "./preview.ts:updateMarkdownPreview"
env: client
events:
- plug:load
- editor:updated
- editor:pageSwitched