Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
tristen committed May 21, 2012
1 parent a9a8629 commit 0a5aeff
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,18 @@ Simple Emphasis is a stripped down version of the Dynamic Deep-Linking and Highl
### What's Different?

- Only paragraphs are linked.
- Toggled on by a single <kbd>shift</kbd> key press
- Emphasis turned on by default
- Paragraphs toggle on and off a unique generated hash
- A modified UI

### Assumptions
### Quick Usage

You need to specify what p tags you would like to target. The minified version of the code and source assumes `div.content p` you can edit the source to suit your needs from the line:

`this.paraSelctors = $('.content p');`
``` js
$(function () {
var content = document.getElementsByTagName('p');
new Emphasis(content);
});
```

### Dependencies

Expand Down

0 comments on commit 0a5aeff

Please sign in to comment.