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 @@
Font Styles | ||
---|---|---|
*Strong* | Strong | |
_Italic_ | Italic | |
+Underline+ | Underline | |
-Deleted- | ||
??Quote?? | Quote | |
@Inline Code@ | Inline Code | |
<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- | +|
+ | ??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 | ||
* Item 1 * Item 2 |
| |
# Item 1 # Item 2 |
| |
Headings | ||
h1. Title 1 | Title 1 | |
h2. Title 2 | Title 2 | |
h3. Title 3 | Title 3 | |
Links | ||
http://foo.bar | http://foo.bar | |
"Foo":http://foo.bar | Foo | |
OpenProject links | ||
[[Wiki page]] | Wiki page | |
[[Sandbox:Wiki page]] | Wiki page (On the Sandbox project) | |
Issue #12 | Issue #12 | |
##12 | Link with additional information | |
###12 | Link with additional information + description | |
Revision r43 | Revision r43 | |
commit:f30e13e43 | f30e13e4 | |
source:some/file | source:some/file | |
Inline images | ||
!image_url! | ||
!attached_image! | ||
Lists | +||
<%= image_tag 'jstoolbar/bt_ul.png', :style => 'border: 1px solid #bbb', :alt => 'Unordered list' %> | +* Item 1 * Item 2 |
+
+
|
+
<%= image_tag 'jstoolbar/bt_ol.png', :style => 'border: 1px solid #bbb', :alt => 'Ordered list' %> | +# Item 1 # 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 | +Link with additional information | +
+ | ###12 | +Link with additional information + description | +
+ | 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', '', '')" %> +