Fence code blocks in README with languages.

This commit is contained in:
Kevin Sawicki
2011-06-23 14:56:46 -07:00
parent 6c3ec9fc14
commit f25901d64e

View File

@@ -48,20 +48,23 @@ You can download the latest build at:
Or use it as a maven dependency: Or use it as a maven dependency:
<dependency> ```xml
<dependency>
<groupId>redis.clients</groupId> <groupId>redis.clients</groupId>
<artifactId>jedis</artifactId> <artifactId>jedis</artifactId>
<version>2.0.0</version> <version>2.0.0</version>
<type>jar</type> <type>jar</type>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
```
To use it just: To use it just:
Jedis jedis = new Jedis("localhost"); ```java
jedis.set("foo", "bar"); Jedis jedis = new Jedis("localhost");
String value = jedis.get("foo"); jedis.set("foo", "bar");
String value = jedis.get("foo");
```
For more usage examples check the tests. For more usage examples check the tests.