2022-04-27 01:04:36 +08:00
|
|
|
name: markdown
|
2022-10-13 21:16:18 +08:00
|
|
|
imports:
|
|
|
|
- https://get.silverbullet.md/global.plug.json
|
2022-10-14 21:11:33 +08:00
|
|
|
assets:
|
2022-11-01 22:01:28 +08:00
|
|
|
- "assets/*"
|
2022-03-28 21:25:05 +08:00
|
|
|
functions:
|
2022-04-04 21:25:07 +08:00
|
|
|
toggle:
|
|
|
|
path: "./markdown.ts:togglePreview"
|
2022-03-28 21:25:05 +08:00
|
|
|
command:
|
2022-08-01 23:08:22 +08:00
|
|
|
name: "Markdown Preview: Toggle"
|
2022-04-05 00:33:13 +08:00
|
|
|
key: Ctrl-p
|
|
|
|
mac: Cmd-p
|
2022-04-04 21:25:07 +08:00
|
|
|
preview:
|
2022-04-13 20:46:52 +08:00
|
|
|
path: "./preview.ts:updateMarkdownPreview"
|
2022-04-04 21:25:07 +08:00
|
|
|
env: client
|
|
|
|
events:
|
|
|
|
- plug:load
|
|
|
|
- editor:updated
|
2022-07-18 22:48:36 +08:00
|
|
|
- editor:pageLoaded
|
|
|
|
- editor:pageReloaded
|
2022-11-01 22:01:28 +08:00
|
|
|
previewClickHandler:
|
|
|
|
path: "./preview.ts:previewClickHandler"
|
|
|
|
env: client
|
|
|
|
events:
|
|
|
|
- preview:click
|