Permalink
Browse files

fix formatting of the example

  • Loading branch information...
1 parent ee14eab commit 1918a7ff1b30d2a49f33d1807adfe26cdc7cadc6 @dod38fr dod38fr committed with puzrin Dec 9, 2016
Showing with 8 additions and 6 deletions.
  1. +8 −6 README.md
View
@@ -213,12 +213,14 @@ ouput is shown on the right side after `=>` (default setting) or `->`:
Example:
- safeDump (object, {
- 'styles': {
- '!!null': 'canonical' // dump null as ~
- },
- 'sortKeys': true // sort
- }
+``` javascript
+safeDump (object, {
+ 'styles': {
+ '!!null': 'canonical' // dump null as ~
+ },
+ 'sortKeys': true // sort object keys
+}
+```
### dump (object [ , options ])

0 comments on commit 1918a7f

Please sign in to comment.