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

Add hrefs to code keywords #82

Merged
merged 1 commit into from
Apr 15, 2024
Merged

Add hrefs to code keywords #82

merged 1 commit into from
Apr 15, 2024

Conversation

dtln820
Copy link
Contributor

@dtln820 dtln820 commented Apr 12, 2024

While doing the language tour, I caught myself a couple of times trying to tap on some keywords in order to open more detailed documentation. So I decided to go over the pages present in the language tour and, where possible, wrap the code in the href that will redirect the users to the new tab with the hexdocs.

Also, I tested a couple of variations regarding the color of keywords that are both in code and a tags, and the original code color with underline seems to be optimal, but it can be changed if I'm wrong - no strong opinion on this. 😄

Copy link
Member

@lpil lpil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@lpil lpil merged commit a1c22e9 into gleam-lang:main Apr 15, 2024
1 check passed
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