Permalink
Browse files

Add syntax highlighting to readme

  • Loading branch information...
timoxley committed Jul 20, 2012
1 parent 6bd97f3 commit 5c61fd165dc077e04b5f715c6bf813380514fca1
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 5c61fd1

Please sign in to comment.