%#-- copyright OpenProject is a project management system. Copyright (C) 2012-2015 the OpenProject Foundation (OPF) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3. OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows: Copyright (C) 2006-2013 Jean-Philippe Lang Copyright (C) 2010-2013 the ChiliProject Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. See doc/COPYRIGHT.rdoc for more details. ++#%> <% 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" %>
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 | ||
<%= 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) |
WorkPackage #12 | WorkPackage #12 | |
WorkPackage ##12 | WorkPackage Bug #12: WorkPackage Subject 2012-06-06 – 2013-06-06 | |
WorkPackage ###12 | WorkPackage Bug #12: WorkPackage Subject 2012-06-06 – 2013-06-06
Responsible: John Doe
Assigned to: John Doe
I am the description of this work package.
|
|
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', '', '')" %>