Skip to content

Commit

Permalink
try out new syntax highlighting feature of github
Browse files Browse the repository at this point in the history
  • Loading branch information
Floby committed Apr 20, 2011
1 parent 26fe8fc commit a0eb7d9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Expand Up @@ -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

Expand Down

0 comments on commit a0eb7d9

Please sign in to comment.