Skip to content
Browse files

Updated README to correctly highlight javascript examples

  • Loading branch information...
1 parent 7d98a96 commit bbc001b6ec5c531438f1d9124ce137de8fdd863b @tommoor committed
Showing with 13 additions and 9 deletions.
  1. +13 −9 README.md
View
22 README.md
@@ -12,7 +12,9 @@ Tinycon adds a single object to the global namespace and does not require initia
### Basic Usage
- Tinycon.setBubble(6);
+```javascript
+Tinycon.setBubble(6);
+```
### Options
@@ -25,14 +27,16 @@ Tinycon can take a range of options to customise the look
* background: the alert bubble background colour
* fallback: should we fallback to a number in brackets for browsers that don't support canvas/dynamic favicons? Boolean, or use the string 'force' to ensure a title update even in supported browsers.
- Tinycon.setOptions({
- width: 7,
- height: 9,
- font: '10px arial',
- colour: '#ffffff',
- background: '#549A2F',
- fallback: true
- });
+```javascript
+Tinycon.setOptions({
+ width: 7,
+ height: 9,
+ font: '10px arial',
+ colour: '#ffffff',
+ background: '#549A2F',
+ fallback: true
+});
+```
## Browser Support

0 comments on commit bbc001b

Please sign in to comment.
Something went wrong with that request. Please try again.