Skip to content

Improve link rendering in QuickLook#117

Merged
cyanzhong merged 1 commit into
mainfrom
develop
May 31, 2026
Merged

Improve link rendering in QuickLook#117
cyanzhong merged 1 commit into
mainfrom
develop

Conversation

@cyanzhong
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Improves QuickLook link rendering so Markdown links remain visually identifiable but behave as non-interactive selectable text in QuickLook previews.

Changes:

  • Strips href and target from rendered anchors in QuickLook.
  • Updates QuickLook CSS so stripped anchors keep accent coloring, text cursor, selectable text, and no WebKit drag behavior.
  • Rebuilds both shipped distribution bundles.

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.

File Description
src/quicklook/ui.ts Removes link interactivity after QuickLook Markdown rendering.
styles/quicklook.css Styles non-interactive links consistently in QuickLook.
dist/markedit-preview.js Full generated bundle updated with source/CSS changes.
dist/lite/markedit-preview.js Lite generated bundle updated with source/CSS changes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cyanzhong cyanzhong merged commit 52effae into main May 31, 2026
1 check 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.

2 participants