Demos. Lots of demos. *neo glasses*
View source on all these demos to see what they're made of. All the demos live in examples in the source tree.
Use the ace editor to edit the
Use a plain textarea to edit the
'hello' document contents as the text for a webpage
'html' document is used as the innerHTML on the page. (You can edit it using the
general editor, below.)
'markdown' document, rendered to HTML using showdown. Edit the document using the editor.
This example shows the use of an Ace editor which can edit any ShareJS document. Documents are named with a string. Edit any of the documents which the demos above show.
When you open this page, it creates a new empty editing pad with a random name (pad:XXXX). You can share the URL with someone else and edit with them.
This is the same as the pad example (left), except ace has coffeescript styling on.