1
0
silverbullet/plugs/markdown/markdown.plug.yaml
2022-04-04 15:25:07 +02:00

13 lines
268 B
YAML

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