|
@@ -35,6 +35,7 @@ class Docs_1 extends Widget
|
35
|
35
|
style -> raw "
|
36
|
36
|
h3 { font-family: monospace; }
|
37
|
37
|
.top { font-size: 1.33rem; }
|
|
38
|
+ blockquote > code { white-space: normal; }
|
38
|
39
|
"
|
39
|
40
|
|
40
|
41
|
a name: "top"
|
|
@@ -142,7 +143,7 @@ class Docs_1 extends Widget
|
142
|
143
|
text " string with valid authorization and a new task item will be returned. Here's an example response:"
|
143
|
144
|
|
144
|
145
|
blockquote ->
|
145
|
|
- code style: "white-space: normal;", '{ "success": true, "task": { "id": 4, "user_id": 2, "content": "Get a new API key.", "done": false, "created_at": "2018-04-25 04:27:47", "updated_at": "2018-04-25 04:27:47" } }'
|
|
146
|
+ code '{ "success": true, "task": { "id": 4, "user_id": 2, "content": "Get a new API key.", "done": false, "created_at": "2018-04-25 04:27:47", "updated_at": "2018-04-25 04:27:47" } }'
|
146
|
147
|
|
147
|
148
|
p ->
|
148
|
149
|
text "This same format is used to return any task, whether it is as a response to these simple queries, or as part of an array returned by "
|