Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance Uniformity in Syntax Highlighting for Integers in OCaml Manual #2870

Open
labdhiongithub7 opened this issue Dec 17, 2024 · 2 comments

Comments

@labdhiongithub7
Copy link

In the OCaml manual, some integers in code examples are not highlighted consistently. Unhighlighted integers appear in grey, which resembles the color used for comments. This inconsistency creates confusion, as users might mistake integers for comments or consider them less important, impacting the clarity and readability of the manual.
I have attached photo of few code lines here.

In this image the first 50 is in blue colour while the second 50 is in grey colour which leads to confusion between comments and actual code.
Screenshot 2024-12-17 214133

In this image also second 50 is grey coloured.
Screenshot 2024-12-17 214143

In this expression only the first digit is coloured and rest is grey which raises doubt among the 1st time readers.
Screenshot 2024-12-17 214217

@cuihtlauac
Copy link
Collaborator

Thanks, @labdhiongithub7; you are right; this is not nice. Highlighting is done by package Hilite. Can you create a bug there please?

@labdhiongithub7
Copy link
Author

labdhiongithub7 commented Dec 19, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants