mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 16:12:51 +11:00
Merge pull request #72 from hkraal/docs-conent-should-be-content
Small spelling fix in API documentation
This commit is contained in:
commit
570daee600
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