Permalink
Browse files

try out new syntax highlighting feature of github

  • Loading branch information...
1 parent 26fe8fc commit a0eb7d9d45f545f10e807c06792364c6b0237228 @Floby committed Apr 20, 2011
Showing with 6 additions and 4 deletions.
  1. +6 −4 README.md
View
@@ -55,10 +55,12 @@ be called for each token in order to specify a different type by returning
a string. The parameters passed to the function are token(the token that we found)
and match, an object like this
- {
- regex: /whatever/ // the regex that matched the token
- type: 'type' // the type of the token
- }
+``` javascript
+{
+ regex: /whatever/ // the regex that matched the token
+ type: 'type' // the type of the token
+}
+```
Have a look in the example folder

0 comments on commit a0eb7d9

Please sign in to comment.