You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only very few people are coding without syntax highlighting, and imo it greatly improves readability.
I'd suggest that the example code on your website gets syntax highlighting.
Current state:
Good
I'm coming from the Kotlin world, so I'd like colors like these:
Features: keywords (orange), declared function names (yellow), struct members (lavender), strings (green), comments (slightly different green) and numbers (light blue) have different colors.
For libraries, popular ones like highlight.js or prism.js should work fine.
Bad
Please don't use the colors that Zig uses. I think that keywords shouldn't be more prominent than regular text, because they contain similar or less information than function calls and expressions. Zig somehow decided that bold and bright is appropriate for them 🤦♂️. Also the text in Zig's preview has not enough contrast to the background in my opinion.
Contribution?
I may be able to implement that, but I'll have to see how your project is structured, and how to integrate new JavaScript libraries first.
The text was updated successfully, but these errors were encountered:
Description
Only very few people are coding without syntax highlighting, and imo it greatly improves readability.
I'd suggest that the example code on your website gets syntax highlighting.
Current state:
Good
I'm coming from the Kotlin world, so I'd like colors like these:
Features: keywords (orange), declared function names (yellow), struct members (lavender), strings (green), comments (slightly different green) and numbers (light blue) have different colors.
For libraries, popular ones like highlight.js or prism.js should work fine.
Bad
Please don't use the colors that Zig uses. I think that keywords shouldn't be more prominent than regular text, because they contain similar or less information than function calls and expressions. Zig somehow decided that bold and bright is appropriate for them 🤦♂️. Also the text in Zig's preview has not enough contrast to the background in my opinion.
Contribution?
I may be able to implement that, but I'll have to see how your project is structured, and how to integrate new JavaScript libraries first.
The text was updated successfully, but these errors were encountered: