mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-12-23 23:23:06 +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",
|
||||
"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",
|
||||
"lexer": "",
|
||||
"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::
|
||||
|
@ -83,7 +83,7 @@ This will create a ``python`` highlighted snippet. However in this example::
|
|||
"url": "https://dpaste.de/xsWd",
|
||||
"lexer": "php",
|
||||
"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.
|
||||
|
|
Loading…
Reference in a new issue