Document Markdown preview implementation

This commit is contained in:
mirivlad 2026-06-27 23:47:11 +08:00
parent 6c5b31529a
commit 0ce2334b64
2 changed files with 13 additions and 8 deletions

View File

@ -111,9 +111,10 @@ preview.markdown
Назначение: Назначение:
- безопасный markdown render; - read-only markdown render through a Workbench `openProviders` contribution;
- internal `verstak://` links; - `mode: "view"` support so edit routing remains with editor plugins;
- optional syntax highlight. - safe baseline markdown rendering before optional syntax highlight/link
resolver integration.
Provides: Provides:
@ -128,6 +129,9 @@ Optional requires:
link.resolver link.resolver
``` ```
Текущий статус: базовый `verstak.markdown-preview` implemented as an official
view-only provider for `.md` / `.markdown` files.
## 5. `official.file-preview` ## 5. `official.file-preview`
Назначение: Назначение:

View File

@ -35,8 +35,9 @@ Implemented:
- workspace top-level folder model and workspace item host; - workspace top-level folder model and workspace item host;
- Files Core text API with safe path policy and sync operation recording; - Files Core text API with safe path policy and sync operation recording;
- public `files.openExternal` / `files.showInFolder` API and Files plugin usage; - public `files.openExternal` / `files.showInFolder` API and Files plugin usage;
- Workbench open/edit provider routing and default editor plugin; - mode-aware Workbench open/edit provider routing and default editor plugin;
- official Files plugin, Notes plugin, Sync plugin, and platform-test plugin; - official Files plugin, Notes plugin, Markdown Preview plugin, Sync plugin, and
platform-test plugin;
- browser inbox local receiver and minimal official Browser Inbox plugin; - browser inbox local receiver and minimal official Browser Inbox plugin;
- sync server with device/user auth and operation push/pull; - sync server with device/user auth and operation push/pull;
- SDK manifest/types/schema coverage for current plugin APIs; - SDK manifest/types/schema coverage for current plugin APIs;
@ -49,8 +50,8 @@ Known remaining gaps:
- Sidecar host is not implemented. - Sidecar host is not implemented.
- Files/Notes are usable but not complete: restore, binary streaming, watcher, - Files/Notes are usable but not complete: restore, binary streaming, watcher,
richer conflict UX, and Notes trash/delete UX are still incomplete. richer conflict UX, and Notes trash/delete UX are still incomplete.
- Markdown/file preview, activity, journal, browser inbox receiver/plugin, search, secrets, and - File/image preview, activity, journal, browser inbox conversion workflow,
templates plugins are not complete product features. search, secrets, and templates plugins are not complete product features.
- Browser extension repository has protocol, queue, and Chromium/Firefox build - Browser extension repository has protocol, queue, and Chromium/Firefox build
scaffold; desktop has a local receiver and mounted-view inbox plugin, but no scaffold; desktop has a local receiver and mounted-view inbox plugin, but no
pairing model, domain binding, or conversion workflow yet. pairing model, domain binding, or conversion workflow yet.
@ -124,7 +125,7 @@ Goal: add the next visible product layer as replaceable plugins.
Tasks: Tasks:
- implement `verstak.markdown-preview` provider plugin; - [x] implement `verstak.markdown-preview` provider plugin;
- implement basic file/image preview plugin; - implement basic file/image preview plugin;
- implement search provider/index contract and official search plugin; - implement search provider/index contract and official search plugin;
- implement activity event log plugin; - implement activity event log plugin;