From 591b836e9d274689d8ca7e1793e24c791760058b Mon Sep 17 00:00:00 2001
From: Maxime Horcholle
Date: Fri, 3 Oct 2014 14:03:57 +0200
Subject: [PATCH] Syntax highlighting on README.md
---
README.md | 68 ++++++++++++++++++++++++++++++++-----------------------
1 file changed, 40 insertions(+), 28 deletions(-)
diff --git a/README.md b/README.md
index 6ed8efc..d20c58a 100755
--- a/README.md
+++ b/README.md
@@ -8,27 +8,33 @@ jQuery Knob
Example
-------
-
+```html
+
-
+
+```
Options
-------
Options are provided as attributes 'data-option':
-
+```html
+
+```
... or in the "knob()" call :
- $(".dial").knob({
- 'min':-50
- ,'max':50
- });
+```javascript
+$(".dial").knob({
+ 'min':-50,
+ 'max':50
+});
+```
The following options are supported :
@@ -58,11 +64,13 @@ UI :
Hooks
-------
-
+ 'release' : function (v) { /*make something*/ }
+ });
+
+```
* 'release' : executed on release
@@ -92,40 +100,44 @@ The scope (this) of each hook function is the current Knob instance (refer to th
Example
-------
-
+```html
+
-
-
+ 'change' : function (v) { console.log(v); }
+ });
+
+```
Dynamically configure
-------
-
+ }
+ );
+
+```
Set the value
-------
-
+
+```
Supported browser
-------