Skip to content

Console code blocks: output is no longer selectable; and code style changes#2548

Merged
chalin merged 4 commits intogoogle:mainfrom
chalin:chalin-m24-console-user-select-2026-0212
Feb 12, 2026
Merged

Console code blocks: output is no longer selectable; and code style changes#2548
chalin merged 4 commits intogoogle:mainfrom
chalin:chalin-m24-console-user-select-2026-0212

Conversation

@chalin
Copy link
Copy Markdown
Collaborator

@chalin chalin commented Feb 12, 2026

  • Fixes Copy only necessary items from the code block #818
  • Updated styles so code blocks with language specifier console have only the commands as user selectable.
  • Updated the click-to-copy behavior accordingly to copy only commands, not user non-selectable text
  • Default code styles changed from tango/onedark to friendly/native
  • Internal: refactored gen-chroma-styles helper script

Preview: https://deploy-preview-2548--docsydocs.netlify.app/docs/content/lookandfeel/#code-highlighting-with-chroma

@chalin chalin force-pushed the chalin-m24-console-user-select-2026-0212 branch 2 times, most recently from 2d779e1 to f096b3a Compare February 12, 2026 13:31
@chalin chalin force-pushed the chalin-m24-console-user-select-2026-0212 branch from f096b3a to ad34476 Compare February 12, 2026 13:32
@chalin chalin added this to the 0.14.x milestone Feb 12, 2026
@chalin chalin merged commit cc763a9 into google:main Feb 12, 2026
12 checks passed
@chalin chalin deleted the chalin-m24-console-user-select-2026-0212 branch February 12, 2026 13:54
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.

Copy only necessary items from the code block

1 participant