diff --git a/app/views/help/wiki_syntax.html.erb b/app/views/help/wiki_syntax.html.erb index bd7bff3475..4371872cfc 100644 --- a/app/views/help/wiki_syntax.html.erb +++ b/app/views/help/wiki_syntax.html.erb @@ -13,46 +13,166 @@

Wiki Syntax Quick Reference

- - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Font Styles
Strong*Strong*Strong
Italic_Italic_Italic
Underline+Underline+Underline
Deleted-Deleted-Deleted
??Quote??Quote
Inline Code@Inline Code@Inline Code
Preformatted text<pre>
 lines
 of code
</pre>
+
Font Styles
<%= image_tag 'jstoolbar/bt_strong.png', :style => 'border: 1px solid #bbb', :alt => 'Strong' %>*Strong*Strong
<%= image_tag 'jstoolbar/bt_em.png', :style => 'border: 1px solid #bbb', :alt => 'Italic' %>_Italic_Italic
<%= image_tag 'jstoolbar/bt_ins.png', :style => 'border: 1px solid #bbb', :alt => 'Underline' %>+Underline+Underline
<%= image_tag 'jstoolbar/bt_del.png', :style => 'border: 1px solid #bbb', :alt => 'Deleted' %>-Deleted-Deleted
??Quote??Quote
<%= image_tag 'jstoolbar/bt_code.png', :style => 'border: 1px solid #bbb', :alt => 'Inline Code' %>@Inline Code@Inline Code
<%= image_tag 'jstoolbar/bt_pre.png', :style => 'border: 1px solid #bbb', :alt => 'Preformatted text' %><pre>
 lines
 of code
</pre>
  lines
  of code
 
-
Lists
Unordered list* Item 1
* Item 2
  • Item 1
  • Item 2
Ordered list# Item 1
# Item 2
  1. Item 1
  2. Item 2
Headings
Heading 1h1. Title 1

Title 1

Heading 2h2. Title 2

Title 2

Heading 3h3. Title 3

Title 3

Links
http://foo.barhttp://foo.bar
"Foo":http://foo.barFoo
OpenProject links
Link to a Wiki page[[Wiki page]]Wiki page
Link to a Wiki page[[Sandbox:Wiki page]]Wiki page (On the Sandbox project)
Issue #12Issue #12
##12Link with additional information
###12Link with additional information + description
Revision r43Revision r43
commit:f30e13e43f30e13e4
source:some/filesource:some/file
Inline images
Image!image_url!
!attached_image!
Lists
<%= image_tag 'jstoolbar/bt_ul.png', :style => 'border: 1px solid #bbb', :alt => 'Unordered list' %>* Item 1
* Item 2
+
    +
  • Item 1
  • +
  • Item 2
  • +
+
<%= image_tag 'jstoolbar/bt_ol.png', :style => 'border: 1px solid #bbb', :alt => 'Ordered list' %># Item 1
# Item 2
+
    +
  1. Item 1
  2. +
  3. Item 2
  4. +
+
Headings
<%= image_tag 'jstoolbar/bt_h1.png', :style => 'border: 1px solid #bbb', :alt => 'Heading 1' %>h1. Title 1

Title 1

<%= image_tag 'jstoolbar/bt_h2.png', :style => 'border: 1px solid #bbb', :alt => 'Heading 2' %>h2. Title 2

Title 2

<%= image_tag 'jstoolbar/bt_h3.png', :style => 'border: 1px solid #bbb', :alt => 'Heading 3' %>h3. Title 3

Title 3

Links
http://foo.barhttp://foo.bar
"Foo":http://foo.barFoo
OpenProject links
<%= image_tag 'jstoolbar/bt_link.png', :style => 'border: 1px solid #bbb', :alt => 'Link to a Wiki page' %>[[Wiki page]]Wiki page
<%= image_tag 'jstoolbar/bt_link.png', :style => 'border: 1px solid #bbb', :alt => 'Link to a Wiki page' %>[[Sandbox:Wiki page]]Wiki page (On the Sandbox project)
Issue #12Issue #12
##12Link with additional information
###12Link with additional information + description
Revision r43Revision r43
commit:f30e13e43f30e13e4
source:some/filesource:some/file
Inline images
<%= image_tag 'jstoolbar/bt_img.png', :style => 'border: 1px solid #bbb', :alt => 'Image' %>!image_url!
!attached_image!
-

More Information

+

+ <%= link_to_function 'More Information', "window.open('wiki_syntax_detailed', '', '')" %> +