2022-04-27 01:04:36 +08:00
|
|
|
name: markdown
|
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:
|
2023-10-29 17:02:50 +08:00
|
|
|
# API
|
2023-11-02 19:35:30 +08:00
|
|
|
expandCodeWidgets:
|
|
|
|
path: api.ts:expandCodeWidgets
|
|
|
|
markdownToHtml:
|
|
|
|
path: api.ts:markdownToHtml
|
2023-10-29 17:02:50 +08:00
|
|
|
|
|
|
|
# User facing
|
|
|
|
|
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
|
2023-05-24 02:53:53 +08:00
|
|
|
|
2022-04-04 21:25:07 +08:00
|
|
|
preview:
|
2022-04-13 20:46:52 +08:00
|
|
|
path: "./preview.ts:updateMarkdownPreview"
|
2023-08-26 14:31:51 +08:00
|
|
|
env: client
|
2022-04-04 21:25:07 +08:00
|
|
|
events:
|
|
|
|
- plug:load
|
|
|
|
- editor:updated
|
2022-07-18 22:48:36 +08:00
|
|
|
- editor:pageLoaded
|
|
|
|
- editor:pageReloaded
|
2024-02-28 19:16:51 +08:00
|
|
|
|
2022-11-01 22:01:28 +08:00
|
|
|
previewClickHandler:
|
|
|
|
path: "./preview.ts:previewClickHandler"
|
|
|
|
events:
|
2023-01-13 22:41:29 +08:00
|
|
|
- preview:click
|