Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commitf48a221

Browse files
committed
Updated README.md
- Added GitHub Flavored Markdown where appropriate.
1 parentfa79819 commitf48a221

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)

[8]ページ先頭

©2009-2025 Movatter.jp