mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-23 20:06:35 +11:00
conent should be content
This commit is contained in:
parent
240ccb1cdd
commit
429ef239f9
1 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@ Can also be set via GET. The format of the API response. Choices are:
|
||||||
{
|
{
|
||||||
"url": "https://dpaste.de/xsWd",
|
"url": "https://dpaste.de/xsWd",
|
||||||
"lexer": "python",
|
"lexer": "python",
|
||||||
"conent": "The text body of the snippet."
|
"content": "The text body of the snippet."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ filename! Example::
|
||||||
"url": "https://dpaste.de/xsWd",
|
"url": "https://dpaste.de/xsWd",
|
||||||
"lexer": "",
|
"lexer": "",
|
||||||
"filename": "python",
|
"filename": "python",
|
||||||
"conent": "The text body of the snippet."
|
"content": "The text body of the snippet."
|
||||||
}
|
}
|
||||||
|
|
||||||
This will create a ``python`` highlighted snippet. However in this example::
|
This will create a ``python`` highlighted snippet. However in this example::
|
||||||
|
@ -83,7 +83,7 @@ This will create a ``python`` highlighted snippet. However in this example::
|
||||||
"url": "https://dpaste.de/xsWd",
|
"url": "https://dpaste.de/xsWd",
|
||||||
"lexer": "php",
|
"lexer": "php",
|
||||||
"filename": "python",
|
"filename": "python",
|
||||||
"conent": "The text body of the snippet."
|
"content": "The text body of the snippet."
|
||||||
}
|
}
|
||||||
|
|
||||||
Since the lexer is set too, we will create a ``php`` highlighted snippet.
|
Since the lexer is set too, we will create a ``php`` highlighted snippet.
|
||||||
|
|
Loading…
Reference in a new issue