blockquote whitespace handling

This commit is contained in:
Paul Liverman III 2018-04-24 23:23:58 -07:00
parent 8e6debc47d
commit 94f75b0c92

View File

@ -35,6 +35,7 @@ class Docs_1 extends Widget
style -> raw " style -> raw "
h3 { font-family: monospace; } h3 { font-family: monospace; }
.top { font-size: 1.33rem; } .top { font-size: 1.33rem; }
blockquote > code { white-space: normal; }
" "
a name: "top" a name: "top"
@ -142,7 +143,7 @@ class Docs_1 extends Widget
text " string with valid authorization and a new task item will be returned. Here's an example response:" text " string with valid authorization and a new task item will be returned. Here's an example response:"
blockquote -> blockquote ->
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" } }' 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" } }'
p -> p ->
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 " 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 "