Added templetor support to page creator
[kisspi.git] / modules / page / templates / add.html
1 $def with (text='', prev='')
2
3 <div id="preview">$:prev</div>
4
5 <p>
6 Use <a href="http://daringfireball.net/projects/markdown/syntax">markdown</a> syntax.
7 </p>
8
9 <p>
10 You can use webpy <a href="http://webpy.org/docs/0.3/templetor">templetor</a> putting as first line #templetor
11 </p>
12
13 <form method="POST" action="">
14     <textarea rows="20" name="newpage">$text</textarea>
15     <button type="submit" name="button" value="save">Save</button>
16     <button type="submit" name="button" value="prev">Preview</button>
17 </form>