Skip to content

Commit 217dcb3

Browse files
committed
Improve the README a bit
1 parent 3306cc2 commit 217dcb3

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

README.md

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,27 @@
11
QuickJSON
22
=========
33

4-
A QuickLook plugin to pretty-print (node.js style) JSON.
4+
A QuickLook plugin to pretty-print JSON in the terse comma-first style, e g:
5+
6+
```json
7+
{ "name": "flux"
8+
, "description": "An application architecture based on a unidirectional data flow"
9+
, "version": "2.1.1"
10+
, "homepage": "http://facebook.github.io/flux/"
11+
, "repository":
12+
{ "type": "git"
13+
, "url": "https://github.com/facebook/flux.git"
14+
}
15+
, "authors":
16+
[ "Facebook"
17+
, "Jing Chen <[email protected]>"
18+
, "Bill Fisher <[email protected]>"
19+
, "Paul O'Shannessy <[email protected]>"
20+
]
21+
}
22+
```
23+
24+
### Installing
525

626
To install a pre-built version for osx 10.6+,
727
download and unzip
@@ -10,8 +30,11 @@ into `/Library/QuickLook/` (to install system-globally),
1030
or into `~/Library/QuickLook/` (to install for yourself only).
1131
You may need to create this directory, if it does not exist.
1232

13-
To get sweet copy/paste functionality while in QuickLook, also run
33+
To get sweet copy/paste functionality while in QuickLook, also run:
1434

1535
defaults write com.apple.finder QLEnableTextSelection -bool true
1636

17-
from a Terminal window.
37+
from a Terminal window,
38+
and to refresh installed plugins afterwards:
39+
40+
qlmanage -r

0 commit comments

Comments
 (0)