Skip to content

feat(extension): open-file bridge opens markdown as rendered preview - #253

Merged
aarontrowbridge merged 1 commit into
mainfrom
feat/open-file-markdown-preview
Aug 4, 2026
Merged

aarontrowbridge merged 1 commit into
mainfrom
feat/open-file-markdown-preview

Conversation

@aarontrowbridge

Copy link
Copy Markdown
Member

Found uncommitted on the release branch — completing it as its own PR.

The open-file bridge (#240) opened everything with vscode.open, so clicking a spec card or vault note in chat dropped you into raw markdown source. Now .md/.markdown targets open via markdown.showPreview (rendered tab); everything else — run artifacts, .jld2, .toml — keeps vscode.open. The path gate (absolute, bounded, exists) is unchanged.

Tests: the open-file suite splits per target type and asserts the exact command executed.

Spec cards and vault notes read better rendered: file:// links ending in
.md/.markdown now open via markdown.showPreview; everything else (run
artifacts, .jld2, …) keeps the default vscode.open. Tests split per
target type and assert the exact command.
@aarontrowbridge
aarontrowbridge merged commit 620f7a7 into main Aug 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant