Skip to content

Adjust print styles for syntax highlighting to enhance visibility#3283

Open
arronei wants to merge 4 commits intospeced:mainfrom
arronei:printStyleAdjustments
Open

Adjust print styles for syntax highlighting to enhance visibility#3283
arronei wants to merge 4 commits intospeced:mainfrom
arronei:printStyleAdjustments

Conversation

@arronei
Copy link
Copy Markdown
Contributor

@arronei arronei commented Apr 3, 2026

fix: Printed examples are illegible
Fixes #2839

Copilot AI review requested due to automatic review settings April 3, 2026 18:35
Copy link
Copy Markdown

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

This PR improves printed-code legibility by adding print-specific syntax highlighting colors, addressing Issue #2839 where punctuation and other tokens were printing too faintly.

Changes:

  • Add an @media print block to override syntax highlighting token colors with darker, higher-contrast values.
  • Specifically darken punctuation/operators and comments/strings for better visibility on paper/PDF printouts.

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

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.

Printed examples are illegible

2 participants