Skip to content

Commit

Permalink
Add syntax highlighting to README.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed Aug 3, 2011
1 parent 70ce01e commit 1d13b9d
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions README.markdown
Expand Up @@ -22,9 +22,11 @@ Install

To install this customized captured build:

$ gem build captured.gemspec
$ gem install captured.gem
$ rm captured.gem
```bash
$ gem build captured.gemspec
$ gem install captured-0.4.1.gem
$ rm captured-0.4.1.gem
```

When you install, an example config file will be copied to `~/.captured.yml`, which has a few examples of possible configuration types.

Expand All @@ -48,25 +50,27 @@ By default captured uses Imgur as the default host, but you can configure it to

To edit the configuraiton:

$ open -e ~/.captured.yml
```bash
$ open -e ~/.captured.yml
```

Type: Imgur
-----------
The simple image sharer. The default option.

<pre>
```
upload:
type: imgur
</pre>
```

Type: Imageshack
----------------
This service is a little slower, but is free and easy.

<pre>
```
upload:
type: imageshack
</pre>
```


Type: scp
Expand All @@ -80,15 +84,15 @@ If you have you own web server scp is a very handy way to host your own captures
* url - the public url to the remote host+path
* path - the remote path to upload to

<pre>
```
upload:
type: scp
user: user
password: secret
host: example.com
path: path/to/captured/
url: "http://example.com/captured/"
</pre>
```

Icons
=====
Expand Down

0 comments on commit 1d13b9d

Please sign in to comment.