diff --git a/app/views/wiki/edit.rhtml b/app/views/wiki/edit.rhtml index 96295004a..94581104f 100644 --- a/app/views/wiki/edit.rhtml +++ b/app/views/wiki/edit.rhtml @@ -5,8 +5,8 @@ <%= error_messages_for 'content' %>
<%= l(:setting_text_formatting) %>: -<%= link_to l(:label_help), {:controller => 'help', :ctrl => 'wiki', :page => 'syntax' }, - :onclick => "window.open('#{ url_for :controller => 'help', :ctrl => 'wiki', :page => 'syntax' }', '', 'resizable=yes, location=no, width=300, height=500, menubar=no, status=no, scrollbars=yes'); return false;" %> +<%= link_to l(:label_help), '/help/wiki_syntax.html', + :onclick => "window.open('#{ url_for '/help/wiki_syntax.html' }', '', 'resizable=yes, location=no, width=300, height=640, menubar=no, status=no, scrollbars=yes'); return false;" %>

<%= f.text_area :text, :cols => 100, :rows => 25, :class => 'wiki-edit', :accesskey => accesskey(:edit) %>


<%= f.text_field :comments, :size => 120 %>

diff --git a/public/help/wiki_syntax.html b/public/help/wiki_syntax.html new file mode 100644 index 000000000..f02eb62ab --- /dev/null +++ b/public/help/wiki_syntax.html @@ -0,0 +1,57 @@ + + + +Wiki formatting + + + + + +

Wiki Syntax Quick Reference

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Font Styles
*Strong*Strong
_Italic_Italic
+Underline+Underline
-Deleted-Deleted
??Quote??Quote
@Code@Code
<pre>
 lines
 of code
</pre>
+
+ lines
+ of code
+
+
Lists
* Item 1
* Item 2
  • Item 1
  • Item 2
# Item 1
# Item 2
  1. Item 1
  2. Item 2
Headings
h1. Title 1

Title 1

h2. Title 2

Title 2

h3. Title 3

Title 3

Links
http://foo.barhttp://foo.bar
[[Wiki page]]Wiki page
Issue #12Issue #12
Revision r43Revision r43
Inline images
!image_url!
!attached_image!
+ + + \ No newline at end of file