Skip to content

Commit f48a221

Browse files
committed
Updated README.md
- Added GitHub Flavored Markdown where appropriate.
1 parent fa79819 commit f48a221

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,17 @@ We specify the JSON responses in ruby so that we don't have to write
5353
them by hand all over the docs. You can render the JSON for a resource
5454
like this:
5555

56-
<%= json :issue %>
56+
```erb
57+
<%= json :issue %>
58+
```
5759

5860
This looks up `GitHub::Resources::ISSUE` in `lib/resources.rb`.
5961

6062
Some actions return arrays. You can modify the JSON by passing a block:
6163

62-
<%= json(:issue) { |hash| [hash] } %>
64+
```erb
65+
<%= json(:issue) { |hash| [hash] } %>
66+
```
6367

6468
### Terminal blocks
6569

0 commit comments

Comments
 (0)