diff --git a/views/docs/v1.moon b/views/docs/v1.moon index 9ab84de..6d0f15b 100644 --- a/views/docs/v1.moon +++ b/views/docs/v1.moon @@ -35,6 +35,7 @@ class Docs_1 extends Widget style -> raw " h3 { font-family: monospace; } .top { font-size: 1.33rem; } + blockquote > code { white-space: normal; } " 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:" 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 -> 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 "