gleam-lang / language-tour

👩🏽‍💻 Learn Gleam in your browser
https://tour.gleam.run/
73 stars 55 forks source link

Add hrefs to code keywords #81

Closed dtln820 closed 2 months ago

dtln820 commented 2 months ago

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. 😄