Show markdown files as previews#52
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the devcontainer’s VS Code configuration to make Markdown files open in preview by default, and removes the Codespaces-specific openFiles behavior.
Changes:
- Associate
*.mdwith VS Code’s Markdown preview editor viaworkbench.editorAssociations. - Remove
codespaces.openFilesthat previously auto-openedREADME.md.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| } | ||
| }, | ||
| "codespaces": { | ||
| "openFiles": [ | ||
| "README.md" | ||
| ] | ||
| } |
There was a problem hiding this comment.
PR description says removing codespaces.openFiles is OK because post-attach.sh opens README.md, but post-attach.sh only runs code README.md when .env does not exist (first attach). After this change, README will no longer auto-open on subsequent attaches/sessions. Either update post-attach.sh to open README unconditionally (or under a more appropriate condition), or adjust the PR description/expectation.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…eview Show markdown files as previews
Open markdown files in preview mode, making them easier to read. I also removed the automatic open of
README.mdbecause it's done better bypost-attach.sh.