Permalink
Browse files

Merge pull request #3 from timoxley/patch-1

Add syntax highlighting to readme
  • Loading branch information...
2 parents 6bd97f3 + 5c61fd1 commit 4fe1ab812d101c07ded8a8ac404be0a352998c07 @gwjjeff committed Jul 21, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 README.md
View
@@ -7,13 +7,13 @@ cryptojs
### install
-<pre>
+```
npm install cryptojs
-</pre>
+```
### usage (example with [coffee-script](http://coffeescript.org/))
-<pre>
+```coffee
Crypto = (require 'cryptojs').Crypto
key = '12345678'
us = 'Hello, 世界!'
@@ -29,4 +29,4 @@ ub2= Crypto.DES.decrypt eb2, key, {asBytes: true, mode: mode}
us2= Crypto.charenc.UTF8.bytesToString ub2
# should be same as the var 'us'
console .log us2
-</pre>
+```

0 comments on commit 4fe1ab8

Please sign in to comment.