Skip to content

Commit 8f94873

Browse files
authored
Merge pull request #49 from mardukbp/patch-2
Fixed code block in sigils.adoc
2 parents 39a5c26 + f94e755 commit 8f94873

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/ROOT/pages/elixir/sigils.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ For the `~w` sigil, you can add a `c`, `s`, or `a` after the `w`, changing the t
114114
Here are some examples:
115115

116116
[source,elixir]
117-
117+
----
118118
iex> ~w(hello world this is Elixir)c
119119
[~c"hello", ~c"world", ~c"this", ~c"is", ~c"Elixir"]
120120
@@ -123,6 +123,7 @@ iex> ~w(hello world this is Elixir)s
123123
124124
iex> ~w(hello world again)a
125125
[:hello, :world, :again]
126+
----
126127

127128
Also note that you can use different delimiters for your `~w` sigil, not just parentheses. For example, `~w{hello world this is Elixir}`, `~w/hello world this is Elixir/` and `~w|hello world this is Elixir|` are all valid.
128129

0 commit comments

Comments
 (0)