-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly indent tripple-quoted strings
- Loading branch information
1 parent
8a7d8f6
commit 925e48a
Showing
5 changed files
with
127 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
-module(triple_string). | ||
-moduledoc """ | ||
abc | ||
""". | ||
|
||
-doc "foobar". | ||
-type my_type :: integer(). | ||
|
||
-doc """ | ||
baz | ||
extra | ||
""". | ||
-opaque otype :: integer(). | ||
|
||
-doc "qux". | ||
foo() -> | ||
""" | ||
foo | ||
""". | ||
|
||
bar() -> | ||
""" | ||
the | ||
long | ||
string | ||
""". | ||
|
||
baz() -> | ||
"foo | ||
". | ||
|
||
four_quotes() -> | ||
"""" | ||
""" | ||
the | ||
long | ||
string | ||
"""". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
-module(triple_string). | ||
-moduledoc """ | ||
abc | ||
""". | ||
|
||
-doc "foobar". | ||
-type my_type :: integer(). | ||
|
||
-doc """ | ||
baz | ||
extra | ||
""". | ||
-opaque otype :: integer(). | ||
|
||
-doc "qux". | ||
foo() -> | ||
""" | ||
foo | ||
""". | ||
|
||
bar() -> | ||
""" | ||
the | ||
long | ||
string | ||
""". | ||
|
||
baz() -> | ||
"foo\n". | ||
|
||
four_quotes() -> | ||
"""" | ||
""" | ||
the | ||
long | ||
string | ||
"""". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters