Skip to content
This repository was archived by the owner on Mar 11, 2022. It is now read-only.

Commit 05b5c7d

Browse files
authored
Merge pull request #402 from VadimDez/patch-1
docs: add code highlighting
2 parents a38de10 + 0020e97 commit 05b5c7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ mydb.get('non-existent-doc', function(err, data) {
266266
});
267267
```
268268

269-
```
269+
```js
270270
{ Error: deleted
271271
at Object.clientCallback (/usr/src/app/node_modules/nano/lib/nano.js:248:15)
272272
at Request._callback (/usr/src/app/node_modules/@cloudant/cloudant/lib/clientutils.js:154:11)
@@ -719,7 +719,7 @@ var db = cloudant.db.use('my_db')
719719
720720
In this example, we will begin with some data to search: a collection of books.
721721
722-
~~~
722+
~~~ js
723723
var books = [
724724
{ author:"Charles Dickens", title:"David Copperfield" },
725725
{ author:"David Copperfield", title:"Tales of the Impossible" },

0 commit comments

Comments
 (0)