Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

try out new syntax highlighting feature of github

  • Loading branch information...
commit a0eb7d9d45f545f10e807c06792364c6b0237228 1 parent 26fe8fc
@Floby authored
Showing with 6 additions and 4 deletions.
  1. +6 −4 README.md
View
10 README.md
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.