Skip to content

Add markdown file previews in the code viewer#49

Merged
BunsDev merged 1 commit into
mainfrom
okcode/markdown-previewer
Mar 28, 2026
Merged

Add markdown file previews in the code viewer#49
BunsDev merged 1 commit into
mainfrom
okcode/markdown-previewer

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Mar 28, 2026

Summary

  • Render markdown files with a dedicated preview component instead of the CodeMirror editor.
  • Add lazy-loaded markdown-to-HTML rendering with scoped preview theming and loading/error states.
  • Introduce file-path detection helpers and tests for markdown preview behavior.
  • Add the new markdown preview dependencies to the web app package.

Testing

  • Not run (PR content only).
  • Added unit coverage for markdown file-path detection and CSS scoping helpers in apps/web/src/markdownPreview.test.ts.

- Render markdown files with the new preview component
- Add markdown preview helpers and coverage for file detection and CSS scoping
- Pull in create-markdown preview dependencies
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Mar 28, 2026 4:46am

@github-actions github-actions Bot added size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Mar 28, 2026
@BunsDev BunsDev merged commit a034c80 into main Mar 28, 2026
8 of 9 checks passed
@BunsDev BunsDev deleted the okcode/markdown-previewer branch March 31, 2026 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant