aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/content/chapter0_basics/lesson01_hello_world/text.html11
-rw-r--r--src/content/chapter0_basics/lesson05_floats/text.html13
-rw-r--r--src/content/chapter1_functions/lesson10_deprecations/text.html3
-rw-r--r--src/content/chapter2_flow_control/lesson02_variable_patterns/text.html5
4 files changed, 18 insertions, 14 deletions
diff --git a/src/content/chapter0_basics/lesson01_hello_world/text.html b/src/content/chapter0_basics/lesson01_hello_world/text.html
index 8e2033a..ec4fb10 100644
--- a/src/content/chapter0_basics/lesson01_hello_world/text.html
+++ b/src/content/chapter0_basics/lesson01_hello_world/text.html
@@ -1,9 +1,10 @@
+<p>Here is a program that prints out the text "Hello, Joe!".</p>
<p>
- Here is a program that prints out the text "Hello, Joe!".
-</p>
-<p>
- It does this by using the `println` function which has been imported from the
- <a href="https://hexdocs.pm/gleam_stdlib/gleam/io.html"><code>gleam/io</code></a>
+ It does this by using the <code>println</code> function which has been
+ imported from the
+ <a href="https://hexdocs.pm/gleam_stdlib/gleam/io.html"
+ ><code>gleam/io</code></a
+ >
module, which is part of the Gleam standard library.
</p>
<p>
diff --git a/src/content/chapter0_basics/lesson05_floats/text.html b/src/content/chapter0_basics/lesson05_floats/text.html
index 497bb13..cc993c4 100644
--- a/src/content/chapter0_basics/lesson05_floats/text.html
+++ b/src/content/chapter0_basics/lesson05_floats/text.html
@@ -1,8 +1,7 @@
+<p>Gleam's <code>Float</code> type represents numbers that are not integers.</p>
<p>
- Gleam's <code>Float</code> type represents numbers that are not integers.
-</p>
-<p>
- Unlike many languages Gleam does not have a `NaN` or `Infinity` float value.
+ Unlike many languages Gleam does not have a <code>NaN</code> or
+ <code>Infinity</code> float value.
</p>
<p>
Gleam's numerical operators are not overloaded, so there are dedictated
@@ -13,7 +12,9 @@
JavaScript runtimes.
</p>
<p>
- The <a href="https://hexdocs.pm/gleam_stdlib/gleam/float.html"><code>gleam/float</code></a>
+ The
+ <a href="https://hexdocs.pm/gleam_stdlib/gleam/float.html"
+ ><code>gleam/float</code></a
+ >
standard library module contains functions for working with floats.
</p>
-
diff --git a/src/content/chapter1_functions/lesson10_deprecations/text.html b/src/content/chapter1_functions/lesson10_deprecations/text.html
index 0d83ef7..5ea776f 100644
--- a/src/content/chapter1_functions/lesson10_deprecations/text.html
+++ b/src/content/chapter1_functions/lesson10_deprecations/text.html
@@ -1,6 +1,7 @@
<p>
Functions and other definitions can be marked as deprecated using the
- `@deprecated` attribute.
+ <code>@deprecated</code>
+ attribute.
</p>
<p>
If a deprecated function is reference the compiler will emit a warning,
diff --git a/src/content/chapter2_flow_control/lesson02_variable_patterns/text.html b/src/content/chapter2_flow_control/lesson02_variable_patterns/text.html
index 8154979..b3e4000 100644
--- a/src/content/chapter2_flow_control/lesson02_variable_patterns/text.html
+++ b/src/content/chapter2_flow_control/lesson02_variable_patterns/text.html
@@ -1,7 +1,8 @@
<p>
The case expression is the most common kind of flow control in Gleam code. It
- is similar to `switch` in some other languages, but more powerful than most.
-</p>
+ is similar to <code>switch</code> in some other languages, but more powerful
+ than most.
+</p>
<p>
It allows the programmer to say "if the data has this shape then run this
code", a process called called <em>pattern matching</em>.