RedmineTextFormattingRedmineLinks » History » Version 3
Vojtěch Srdečný, 2018-09-21 10:59
1 | 1 | Hiroo Hayashi | Redmine allows hyperlinking between resources (wiki pages, issues, documents...) from anywhere text formatting is used. |
---|---|---|---|
2 | 1 | Hiroo Hayashi | |
3 | 1 | Hiroo Hayashi | Wiki links: |
4 | 1 | Hiroo Hayashi | |
5 | 1 | Hiroo Hayashi | * *[[Guide]]* displays a link to the page named 'Guide': [[Guide]] |
6 | 1 | Hiroo Hayashi | * *[[Guide#further-reading]]* takes you to the anchor "further-reading". Headings get automatically assigned anchors so that you can refer to them: [[Guide#further-reading]] |
7 | 1 | Hiroo Hayashi | * *[[Guide|User manual]]* displays a link to the same page but with different text: [[Guide|User manual]] |
8 | 1 | Hiroo Hayashi | * *[[Guide#User-guide|User guide]]* displays a link to the header on the same page with different text: [[Guide#User-guide|User guide]] |
9 | 1 | Hiroo Hayashi | |
10 | 1 | Hiroo Hayashi | You can also link to pages of another project's wiki (using the project identifier): |
11 | 1 | Hiroo Hayashi | |
12 | 1 | Hiroo Hayashi | * *[[sandbox:some page]]* displays a link to the page named 'Some page' of the Sandbox wiki |
13 | 1 | Hiroo Hayashi | * *[[sandbox:]]* displays a link to the Sandbox wiki main page |
14 | 1 | Hiroo Hayashi | |
15 | 1 | Hiroo Hayashi | Wiki links are displayed in red if the page doesn't exist yet, eg: [[Nonexistent page]]. |
16 | 1 | Hiroo Hayashi | |
17 | 1 | Hiroo Hayashi | Links to other resources: |
18 | 1 | Hiroo Hayashi | |
19 | 1 | Hiroo Hayashi | * Issues: |
20 | 1 | Hiroo Hayashi | |
21 | 1 | Hiroo Hayashi | * *!#124* (link to an issue: displays #124, link is striked-through if the issue is closed) |
22 | 1 | Hiroo Hayashi | * *!#124-6*, or *!#124#note-6* (link to an issue note: displays #124-6, or #124#note-6) |
23 | 1 | Hiroo Hayashi | |
24 | 1 | Hiroo Hayashi | * Documents: |
25 | 1 | Hiroo Hayashi | |
26 | 1 | Hiroo Hayashi | * *!document#17* (link to document with id 17) |
27 | 1 | Hiroo Hayashi | * *!document:Greetings* (link to the document with title "Greetings") |
28 | 1 | Hiroo Hayashi | * *!document:"Some document"* (double quotes can be used when document title contains spaces) |
29 | 1 | Hiroo Hayashi | * *!sandbox:document:"Some document"* (link to a document with title "Some document" in project identifier "sandbox") |
30 | 1 | Hiroo Hayashi | |
31 | 1 | Hiroo Hayashi | * Versions: |
32 | 1 | Hiroo Hayashi | |
33 | 1 | Hiroo Hayashi | * *!version#3* (link to version with id 3) |
34 | 1 | Hiroo Hayashi | * *!version:1.0.0* (link to version named "1.0.0") |
35 | 1 | Hiroo Hayashi | * *!version:"1.0 beta 2"* (double quotes can be used when version name contains spaces) |
36 | 1 | Hiroo Hayashi | * *!sandbox:version:1.0.0* (link to version "1.0.0" in the project identifier "sandbox") |
37 | 1 | Hiroo Hayashi | |
38 | 1 | Hiroo Hayashi | * Attachments: |
39 | 1 | Hiroo Hayashi | |
40 | 1 | Hiroo Hayashi | * *!attachment:file.zip* (link to the attachment of the current object named file.zip) |
41 | 1 | Hiroo Hayashi | * *!attachment:"file name.zip"* (double quotes can be used when the filename contains non word characters) |
42 | 1 | Hiroo Hayashi | * For now, attachments of the current object can be referenced only (if you're on an issue, it's possible to reference attachments of this issue only) |
43 | 1 | Hiroo Hayashi | |
44 | 1 | Hiroo Hayashi | * Changesets: |
45 | 1 | Hiroo Hayashi | |
46 | 1 | Hiroo Hayashi | * *!r758* (link to a changeset, displays r758) |
47 | 1 | Hiroo Hayashi | * *!commit:c6f4d0fd* (link to a changeset with a non-numeric hash) |
48 | 1 | Hiroo Hayashi | * *!svn1|r758* (link to a changeset of a specific repository, for projects with multiple repositories) |
49 | 1 | Hiroo Hayashi | * *!commit:hg|c6f4d0fd* (link to a changeset with a non-numeric hash of a specific repository) |
50 | 1 | Hiroo Hayashi | * *!sandbox:r758* (link to a changeset of another project) |
51 | 1 | Hiroo Hayashi | * *!sandbox:commit:c6f4d0fd* (link to a changeset with a non-numeric hash of another project identifier) |
52 | 1 | Hiroo Hayashi | |
53 | 1 | Hiroo Hayashi | * Repository files: |
54 | 1 | Hiroo Hayashi | |
55 | 1 | Hiroo Hayashi | * *!source:some/file* (link to the file located at /some/file in the project's repository) |
56 | 1 | Hiroo Hayashi | * *!source:"some file"* (link to the file with non word characters in the path) |
57 | 1 | Hiroo Hayashi | * *!source:some/file@52* (link to the file's revision 52) |
58 | 3 | Vojtěch Srdečný | * *!source:some/file@master* (link to the file in branch _master_) |
59 | 1 | Hiroo Hayashi | * *!source:some/file#L120* (link to line 120 of the file) |
60 | 1 | Hiroo Hayashi | * *!source:some/file@52#L120* (link to line 120 of the file's revision 52) |
61 | 1 | Hiroo Hayashi | * *!source:repo_identifier|some/file* (link to a file of a specific repository, for projects with multiple repositories) |
62 | 1 | Hiroo Hayashi | * *!sandbox:source:some/file* (link to the file in the project identifier "sandbox") |
63 | 1 | Hiroo Hayashi | * *!export:some/file* (force the download of the file) |
64 | 1 | Hiroo Hayashi | |
65 | 1 | Hiroo Hayashi | * Forums: |
66 | 1 | Hiroo Hayashi | |
67 | 1 | Hiroo Hayashi | * *!forum#2* (link to forum with id 2) |
68 | 1 | Hiroo Hayashi | * *!forum:Discussion* (link to forum with name "Discussion") |
69 | 1 | Hiroo Hayashi | * *!forum:"Help and more"* (double quotes can be used when forum name contains spaces) |
70 | 1 | Hiroo Hayashi | |
71 | 1 | Hiroo Hayashi | * Forum messages: |
72 | 1 | Hiroo Hayashi | |
73 | 1 | Hiroo Hayashi | * *!message#1218* (link to message with id 1218) |
74 | 1 | Hiroo Hayashi | |
75 | 1 | Hiroo Hayashi | * News items |
76 | 1 | Hiroo Hayashi | |
77 | 1 | Hiroo Hayashi | * *!news#1* (link to news item with id 1) |
78 | 1 | Hiroo Hayashi | * *!news:Greetings* (link to news item with name "Greetings") |
79 | 1 | Hiroo Hayashi | * *!news:"eCookbook first release !"* (double quotes can be used when news item name contains spaces) |
80 | 1 | Hiroo Hayashi | |
81 | 1 | Hiroo Hayashi | * Projects: |
82 | 1 | Hiroo Hayashi | |
83 | 1 | Hiroo Hayashi | * *!project#3* (link to project with id 3) |
84 | 1 | Hiroo Hayashi | * *!project:someproject* (link to project with name "someproject") |
85 | 1 | Hiroo Hayashi | * *!project:"Multiple words project"* (double quotes can be used when project name contains spaces) |
86 | 1 | Hiroo Hayashi | |
87 | 2 | Davide Cavarretta | * Users: |
88 | 2 | Davide Cavarretta | |
89 | 2 | Davide Cavarretta | * *user:login* (Link to user with login username, if username is an email you may have this issue #26443) |
90 | 2 | Davide Cavarretta | |
91 | 2 | Davide Cavarretta | |
92 | 2 | Davide Cavarretta | |
93 | 1 | Hiroo Hayashi | Escaping: |
94 | 1 | Hiroo Hayashi | |
95 | 1 | Hiroo Hayashi | * You can prevent Redmine links from being parsed by preceding them with an exclamation mark: ! |