Skip to content

Commit 9dfc7a8

Browse files
trarbrJosé Valim
authored andcommitted
Fix documentation formatting where ` follows \ (#6400)
1 parent 6ce02e6 commit 9dfc7a8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/elixir/pages/Syntax Reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ end
8282

8383
### Strings
8484

85-
Strings in Elixir are written between double-quotes, such as `"foo"`. Any double-quote inside the string must be escaped with `\`. Strings support Unicode characters and are stored in UTF-8 encoding.
85+
Strings in Elixir are written between double-quotes, such as `"foo"`. Any double-quote inside the string must be escaped with `\ `. Strings support Unicode characters and are stored in UTF-8 encoding.
8686

8787
Strings are always represented as themselves in the AST.
8888

8989
### Charlists
9090

91-
Charlists in Elixir are written in single-quotes, such as `'foo'`. Any single-quote inside the string must be escaped with `\`. Charlists are a list of integers, each integer representing a Unicode character.
91+
Charlists in Elixir are written in single-quotes, such as `'foo'`. Any single-quote inside the string must be escaped with `\ `. Charlists are a list of integers, each integer representing a Unicode character.
9292

9393
Charlists are always represented as themselves in the AST.
9494

lib/iex/lib/iex.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ defmodule IEx do
8989
9090
* via the `BREAK` menu (available via `Ctrl+C`) by typing `q`, pressing enter
9191
* by hitting `Ctrl+C`, `Ctrl+C`
92-
* by hitting `Ctrl+\`
92+
* by hitting `Ctrl+\ `
9393
9494
If you are connected to remote shell, it remains alive after disconnection.
9595

0 commit comments

Comments
 (0)