Skip to content

Commit 75bee20

Browse files
Add example of comment hash spacing
1 parent d7d8772 commit 75bee20

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,11 @@ Translations of the guide are available in the following languages:
589589
the comment.
590590
<sup>[[link](#comment-leading-spaces)]</sup>
591591

592+
```elixir
593+
String.first(some_string) #not preferred
594+
String.first(some_string) # preferred
595+
```
596+
592597
* <a name="comment-grammar"></a>
593598
Comments longer than a word are capitalized, and sentences use punctuation.
594599
Use [one space][Sentence Spacing] after periods.

0 commit comments

Comments
 (0)