trying diff code style
This commit is contained in:
parent
b8de10d337
commit
4fed9880a0
@ -1,7 +1,6 @@
|
|||||||
import Widget from require "lapis.html"
|
import Widget from require "lapis.html"
|
||||||
|
|
||||||
csrf = require "lapis.csrf"
|
csrf = require "lapis.csrf"
|
||||||
config = require("lapis.config").get!
|
|
||||||
|
|
||||||
class extends Widget
|
class extends Widget
|
||||||
content: =>
|
content: =>
|
||||||
|
@ -135,7 +135,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 '{ "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 style: "white-space: normal;", '{ "success": true,\n "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" } \n}'
|
||||||
|
|
||||||
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 "
|
||||||
|
Loading…
Reference in New Issue
Block a user