Skip to content

Commit

Permalink
Merge pull request #72 from hkraal/docs-conent-should-be-content
Browse files Browse the repository at this point in the history
Small spelling fix in API documentation
  • Loading branch information
bartTC committed Dec 10, 2015
2 parents 240ccb1 + 429ef23 commit 570daee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}


Expand Down Expand Up @@ -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::
Expand All @@ -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.
Expand Down

0 comments on commit 570daee

Please sign in to comment.