aboutsummaryrefslogtreecommitdiffstats
path: root/railties/doc/guides/asciidoc.conf
blob: f8e0c0a32c139ab56bc64d088416d26d7108fb42 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Asciidoc substitutes some characters by default, those are called
# "replacements" in the docs. For example => becomes a unicode arrow.
#
# We override replacements to allow copy & paste of source code.

[replacements]

# Ellipsis
(?<!\\)\.\.\.=...
\\\.\.\.=...

# -> right arrow
(?<!\\)-&gt;==-&gt;
\\-&gt;=-&gt;

# => right double arrow
(?<!\\)\=&gt;==&gt;
\\\=&gt;==&gt;

# <- left arrow
(?<!\\)&lt;-=&lt;-
\\&lt;-=&lt;-

# <= left double arrow
(?<!\\)&lt;\==&lt;=
\\&lt;\==&lt;=