1
0
silverbullet/plugs/markdown/markdown.plug.yaml
2022-04-04 18:33:13 +02:00

15 lines
303 B
YAML

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