Skip to content

Commit

Permalink
Update README doc
Browse files Browse the repository at this point in the history
  • Loading branch information
hotoo committed Sep 25, 2014
1 parent baf3556 commit f0ee558
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,18 @@ var Markline = require('markline');
var line = new Markline("#timeline", "./data/timeline.md");
line.render();
```

## API

### Markline(Object element, String filePath)

Markline Constuctor.

Params:

* `Object element`: markline container element, Need HTMLElement, jQuery Object, or Selector.
* `String filePath`: markdown file path to be used.

### markline.render()

Render timeline into container.

0 comments on commit f0ee558

Please sign in to comment.