<% content_for :styles do %> h1 { font-family: Verdana, sans-serif; font-size: 14px; text-align: center; color: #444; } body { font-family: Verdana, sans-serif; font-size: 12px; color: #444; } table th { padding-top: 1em; } table td { vertical-align: top; background-color: #f5f5f5; height: 2em; vertical-align: middle;} table td code { font-size: 1.2em; } table td h1 { font-size: 1.8em; text-align: left; } table td h2 { font-size: 1.4em; text-align: left; } table td h3 { font-size: 1.2em; text-align: left; } <% end %> <% html_title "Wiki Syntax Quick Reference" %>

Wiki Syntax Quick Reference

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
<%= 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. Item 2
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.bar http://foo.bar
"Foo":http://foo.bar Foo
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 #12 Issue #12
##12 Issue ##12Issue Bug #12 New: Issue Subject 2012-06-06 – 2013-06-06 (John Doe)
###12 Issue ###12Issue Bug #12 New: Issue Subject 2012-06-06 – 2013-06-06 (John Doe)

I am the description of this issue.

Revision r43 Revision r43
commit:f30e13e43 f30e13e4
source:some/file source:some/file
Inline images
<%= image_tag 'jstoolbar/bt_img.png', :style => 'border: 1px solid #bbb', :alt => 'Image' %> !image_url!
!attached_image!

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