Permalink
Browse files

document widget function

  • Loading branch information...
1 parent 1624b1e commit 0cc94675818f243a367241a21b8f50db305ec209 @dominictarr committed Jan 18, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 README.md
View
3 README.md
@@ -21,6 +21,7 @@ see [r-edit/example](https://github.com/dominictarr/r-edit/tree/master/example)
var REdit = require('r-edit')
var r = REdit().wrap(textarea)
+// or r.widget() <-- returns a new textarea (80x24)
var stream = shoe('/redit')
@@ -41,7 +42,7 @@ shoe(function (stream) {
}).install(httpServer)
```
-## widget
+## markdown-widget
Create a widget that displays text as a subset of markdown.

0 comments on commit 0cc9467

Please sign in to comment.