Examples¶
- Table of contents
- Examples
Typography¶
Chemical formulae¶
H ~2~ O |
H 2 O |
Equations¶
%∑%^n^~i=1~ %i%^2^ |
∑ni=1 i2 |
%ρ%~ice~ |
ρice |
%∫%^b^~a~ %x%^2^ dx |
∫ba x2 dx |
Miscellaneous¶
Turn right →
Turn right →
← Turn left
← Turn left
Using Version Control is a Good Move™!
Using Version Control is a Good Move™!
Horizontal text alignment¶
Default¶
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
Flush left¶
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
p<. Lorem ipsum ...
Centered¶
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
p=. Lorem ipsum ...
Flush right¶
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
p>. Lorem ipsum ...
Justified¶
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
p<>. Lorem ipsum ...
Links¶
External links¶
Link to MPI-M site: http://www.mpimet.mpg.de
⇒ http://www.mpimet.mpg.de
Change label: "MPI-M site":http://www.mpimet.mpg.de
⇒ MPI-M site
Internal link¶
Must use label and absolute path here: "Activity":/projects/redmine-user/activity
⇒ Activity
Make creative use of Redmine internals¶
E.g. make internal link look like external: Activity
Tables¶
name | age | sex |
---|---|---|
joan | 24 | f |
archie | 29 | m |
bella | 45 | f |
horizontal alignment | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
---|---|
default | |
align left | |
align right | |
center | |
justify: Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam |
vertical alignment | |
---|---|
default | x x x |
top | x x x |
bottom | x x x |
name | age | sex |
---|---|---|
joan | 24 | f |
archie | no comment | |
bella | 45 | f |
name | age | sex |
---|---|---|
joan | censored | f |
archie | m | |
bella | f |
1 | 2 |
---|---|
Red cell | d |
g | Grey cell |
Styles¶
The following white list of styles is allowed by Redmine in text formatting color, width, height, border, background, padding, margin, font, text and their variations (eg. border-left, ...)
Built-in macro definitions¶
Description¶
(when copying from this, remove the '!' showing in some entries of the autogenerated macro_list below!)
hello_world
Sample macro.
macro_list
Displays a list of all available macros, including description if available.
child_pages
Displays a list of child pages. With no argument, it displays the child pages of the current wiki page. Examples: {{child_pages}} -- can be used from a wiki page only {{child_pages(depth=2)}} -- display 2 levels nesting only {{child_pages(Foo)}} -- lists all children of page Foo {{child_pages(Foo, parent=1)}} -- same as above with a link to page Foo
include
Includes a wiki page. Examples: {{include(Foo)}} {{include(projectname:Foo)}} -- to include a page of a specific project wiki
collapse
Inserts of collapsed block of text. Examples: {{collapse This is a block of text that is collapsed by default. It can be expanded by clicking a link. }} {{collapse(View details...) With custom link text. }}
thumbnail
Displays a clickable thumbnail of an attached image. Default size is 200 pixels. Examples: {{thumbnail(image.png)}} {{thumbnail(image.png, size=300, title=Thumbnail)}} -- with custom title and size
issue
Displays an issue link including additional information. Examples: {{issue(123)}} -- Issue #123: Enhance macro capabilities {{issue(123, project=true)}} -- Andromeda - Issue #123: Enhance macro capabilities {{issue(123, tracker=false)}} -- #123: Enhance macro capabilities {{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123
review
This is my macro link to code review
div_start_tag
Displays a <pre><div id="id_name" class="class_name"></pre> !{{div_start_tag(id_name)}}' !{{div_start_tag(id_name, class_name)}}
div_end_tag
Displays a <pre></div></pre> !{{div_end_tag}}
lastupdated_at
Displays a date that updated the page. !{{lastupdated_at}}
recent
Displays a list of pages that were changed recently. ' !{{recent}}' !{{recent(number_of_days)}}
project
Creates link to other project. {{project(project_name)}} {{project(project_identifire}} {{project(project_name, alias)}} {{project(project_identifire, alias}}
taggedpages
Displays pages that have specified tag. !{{taggedpages(tagname)}} !{{taggedpages(tagname, project)}}
lastupdated_by
Displays a user who updated the page. !{{lastupdated_by}}
comment_form
Displays a comment form.
comments
Display comments of the page.
count
Count access to the pages. !{{count}}
show_count
Displays an access count of the page. !{{show_count}}
popularity
Displays list of the popular pages. !{{popularity}} !{{popularity(max)}} !{{popularity(max, term)}}
iframe
Insert an iframe tag !{{iframe(url, width, height)}}
new
Displays a string 'new'. !{{new(yyyy-mm-dd)}} !{{new(yyyy-mm-dd, expire)}} Default of expire is 5.
wiki
Link to wiki page of other project. !{{wiki(project_name, wiki_page)}} !{{wiki(project_name, wiki_page, alias)}} !{{wiki(project_identifier, wiki_page)}} !{{wiki(project_identifier, wiki_page, alias)}}
fn
Create a footnote. {{fn(word, description)}}
fnlist
Displays footnotes of the page.
new_page
Create new page.
twitter
Creates link to twitter account page. !{{twitter(user_name)}}
tags
Displays tags. !{{tags}}
tagcloud
Displays tagcloud. !{{tagcloud}}
vote
Vote macro. !{{vote(key)}} !{{vote(key, label)}}
show_vote
Display result of vote macro. !{{show_vote(key)}}
page_break
Page break here.
Test¶
Hello world! Object: WikiContent, Arguments: 1, "", "bla bla bla" and no block of text.