Skip to content

fix: match comment preview syntax highlighting to the rendered result - #420

Merged
glehmann merged 1 commit into
mainfrom
gln/fix-comment-preview-highlighting-wowv
Sep 26, 2026
Merged

glehmann merged 1 commit into
mainfrom
gln/fix-comment-preview-highlighting-wowv

Conversation

@glehmann

Copy link
Copy Markdown
Collaborator

The comment editor's preview highlighted code with a different engine and
a hardcoded dark palette, so blocks looked uncolored in light mode and
differed from submitted comments. Render previews with the same Prism
highlighting as the final result.

The comment editor's preview highlighted code with a different engine and
a hardcoded dark palette, so blocks looked uncolored in light mode and
differed from submitted comments. Render previews with the same Prism
highlighting as the final result.
@glehmann
glehmann merged commit 4b8ea7c into main Sep 26, 2026
6 checks passed
@glehmann
glehmann deleted the gln/fix-comment-preview-highlighting-wowv branch September 26, 2026 12:44

This branch was successfully deployed

1 active deployment
github-pages — 4b8ea7cf Deployed Sep 26, 2026 by glehmann via deploy #257
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