Skip to content
This repository has been archived by the owner on Feb 12, 2018. It is now read-only.

Commit

Permalink
New default document text
Browse files Browse the repository at this point in the history
  • Loading branch information
dmfrancisco committed Jul 9, 2011
1 parent 2cdba98 commit 3923d8c
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions editor/index.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,13 @@ Mustache = require 'mustache'
template = fs.readFileSync "#{__dirname}/document.html.mu", 'utf8'

defaultContent = (name) -> """
# This wiki page is currently empty.
h1. This is a new public document.
You can put some content in it with the editor on the right. As you do so, the document will update live on the left, and live for everyone else editing at the same time as you. Isn't that cool?
Anyone who accesses this address will see what you're writing and can edit your document too.
The text on the left is being rendered with markdown, so you can do all the usual markdown stuff like:
- Bullet
- Points
[links](http://google.com)
[Go back to the main page](Main)
* Start typing by clicking the button *write* or by pressing the @Shift@ and @Tab@ keys together.
* Documents are not persistent for now, while this is still a beta version. If you close your browser and no one is editing or viewing your document, it will disappear.
* The only browser this application works with is "Google Chrome":http://google.com/chrome/ for now.
"""


Expand Down

0 comments on commit 3923d8c

Please sign in to comment.