Skip to content

Commit 184e440

Browse files
committed
style guide: touched up the Code within Prose section a bit
1 parent 951db72 commit 184e440

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

page/style-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ guidelines.
6262

6363
#### Code within Prose
6464

65-
- Always use a `code` span to denote code from prose.
66-
- Methods: use a dot, followed by the method name, followed by parentheses, e.g.: The `.focus()` method is a shortcut for the `.bind('focous', handler)` in the first and second variations, and `.trigger('focus') in the third.
65+
- Always use a `code` tag to denote code from prose.
6766
- Properties: use a dot, followed by the property name, e.g.: `.length`.
6867
- Functions: use the function name, followed by parentheses, e.g.: `myfunction()`.
68+
- Methods: use a dot, followed by the method name, followed by parentheses, e.g.: The `.focus()` method is a shortcut for the `.bind('focous', handler)` in the first and second variations, and `.trigger('focus')` in the third.
6969

7070
#### Article & Sentence Structure
7171

0 commit comments

Comments
 (0)