Skip to content

Enable syntax highlight for code#53

Open
NamorNiradnug wants to merge 1 commit intojohanvx:mainfrom
NamorNiradnug:patch-4
Open

Enable syntax highlight for code#53
NamorNiradnug wants to merge 1 commit intojohanvx:mainfrom
NamorNiradnug:patch-4

Conversation

@NamorNiradnug
Copy link
Copy Markdown
Contributor

Maybe it was intentional to leave it black, but this would look nice.

@johanvx
Copy link
Copy Markdown
Owner

johanvx commented Apr 30, 2026

Yes, all the raw code text was intentionally set to black, for two reasons:

  1. All the raw code text is black in the original document undergradmath.
  2. I personally feel that for this document, syntax highlighting would be distracting—or rather, too much color would be distracting.

But I do agree that the distinction between the body text and the raw code text isn't very clear. Perhaps it could be improved by changing the font or the weight of the code.

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