[GH-ISSUE #905] Fix inconsistent line colors in code listings (red vs. black) #4243

Closed
opened 2026-04-19 12:14:15 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @profvjreddi on GitHub (Jul 24, 2025).
Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/905

Originally assigned to: @hzeljko on GitHub.

There are inconsistent line colors in the code listings of the book. In one listing, the lines are colored red (see image1), and in another listing, the lines are black (see image2). The red color looks better, but more importantly, there should be a consistent style across all listings. It's unclear why these differences exist. Please investigate and fix the color inconsistencies so that all code listings use the preferred color style.

Originally created by @profvjreddi on GitHub (Jul 24, 2025). Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/905 Originally assigned to: @hzeljko on GitHub. There are inconsistent line colors in the code listings of the book. In one listing, the lines are colored red (see <img alt="image1" width="1392" src="https://github.com/user-attachments/assets/475a67d8-0ed2-43ef-a33e-84c43eb02418" />), and in another listing, the lines are black (see ![image2](https://github.com/github-copilot/chat/attachments/51ace223-cf02-4296-8904-198d1ee3706f)). The red color looks better, but more importantly, there should be a consistent style across all listings. It's unclear why these differences exist. Please investigate and fix the color inconsistencies so that all code listings use the preferred color style.
GiteaMirror added the area: booktype: bug labels 2026-04-19 12:14:16 -05:00
Author
Owner

@profvjreddi commented on GitHub (Aug 23, 2025):

Fixed in f8b5c0ac: Fix colors in code listing, plus additional commits ed47e6d1, cbfabcea implementing consistent code listing color scheme

<!-- gh-comment-id:3217132460 --> @profvjreddi commented on GitHub (Aug 23, 2025): Fixed in f8b5c0ac: Fix colors in code listing, plus additional commits ed47e6d1, cbfabcea implementing consistent code listing color scheme
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/cs249r_book#4243