aboutsummaryrefslogtreecommitdiff
path: root/src/tour.gleam
diff options
context:
space:
mode:
authorDimitrii Dulgher <d1alogw0w@gmail.com>2024-04-13 00:04:06 +0300
committerLouis Pilfold <louis@lpil.uk>2024-04-15 13:08:02 +0100
commita1c22e954299de5c823ec47cd2f633355764e3b2 (patch)
tree6db2d8e2d349d3078bb30190fae2271797cbc18a /src/tour.gleam
parent421cbe75fa1bfbd4bc271bf233ede15836de760d (diff)
downloadtour-a1c22e954299de5c823ec47cd2f633355764e3b2.tar.gz
tour-a1c22e954299de5c823ec47cd2f633355764e3b2.zip
Add hrefs to code keywords
Diffstat (limited to 'src/tour.gleam')
-rw-r--r--src/tour.gleam15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/tour.gleam b/src/tour.gleam
index 5dc662d..be26ffa 100644
--- a/src/tour.gleam
+++ b/src/tour.gleam
@@ -56,10 +56,17 @@ const home_html = "
</p>
<p>
The tour is interactive! The code shown is editable and will be compiled and
- evaluated as you type. Anything you print using <code>io.println</code> or
- <code>io.debug</code> will be shown in the bottom section, along with any
- compile errors and warnings. To evaluate Gleam code the tour compiles Gleam to
- JavaScript and runs it, all entirely within your browser window.
+ evaluated as you type. Anything you print using
+ <a href=\"https://hexdocs.pm/gleam_stdlib/gleam/io.html#print\" target=\"_blank\">
+ <code>io.println</code>
+ </a>
+ or
+ <a href=\"https://hexdocs.pm/gleam_stdlib/gleam/io.html#debug\" target=\"_blank\">
+ <code>io.debug</code>
+ </a>
+ will be shown in the bottom section, along with any compile errors and warnings.
+ To evaluate Gleam code the tour compiles Gleam to JavaScript and runs it,
+ all entirely within your browser window.
</p>
<p>
If at any point you get stuck or have a question do not hesitate to ask in