Skip to content

Support opening single markdown files#2

Merged
nprudhomme merged 2 commits intomainfrom
feature/open-single-file-v2
Feb 17, 2026
Merged

Support opening single markdown files#2
nprudhomme merged 2 commits intomainfrom
feature/open-single-file-v2

Conversation

@nprudhomme
Copy link
Copy Markdown
Member

Description

Add support for opening individual .md files directly, in addition to folders.

  • Declare macOS file associations for .md, .markdown, .mdx extensions
  • Detect file vs folder CLI arguments and load accordingly
  • Handle RunEvent::Opened for files opened while the app is already running
  • Load the parent directory in the sidebar when opening a single file
  • Documentation updated (README, getting-started, features guide)

Type of Change

  • New feature

Checklist

  • I have tested my changes locally
  • I have updated the documentation if needed
  • My code follows the existing code style

…ions

Add fileAssociations for .md/.markdown/.mdx so macOS proposes the app
in "Open With". Detect file vs folder CLI args, handle RunEvent::Opened
for files opened while the app is already running, and load the parent
directory in the sidebar when opening a single file.
@nprudhomme nprudhomme force-pushed the feature/open-single-file-v2 branch from 932d4ae to f7837dd Compare February 17, 2026 21:35
@nprudhomme nprudhomme merged commit 39072c4 into main Feb 17, 2026
3 checks passed
@nprudhomme nprudhomme deleted the feature/open-single-file-v2 branch February 17, 2026 21:43
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