From 5a1ae3b85d6f7129a054f22ca8e6c865ad865f6f Mon Sep 17 00:00:00 2001
From: MAEDA Go Redmine allows hyperlinking between resources (issues, changesets, wiki pages...) from anywhere wiki formatting is used. Wiki links: You can also link to pages of an other project wiki: Wiki links are displayed in red if the page doesn't exist yet, eg: Nonexistent page. Links to other resources: Escaping: URLs (starting with: www, http, https, ftp, ftps, sftp and sftps) and email addresses are automatically turned into clickable links: displays: http://www.redmine.org, someone@foo.bar If you want to display a specific text instead of the URL, you can use the standard markdown syntax: displays: Redmine web site For things such as headlines, bold, tables, lists, Redmine supports Markdown syntax. See http://daringfireball.net/projects/markdown/syntax for information on using any of these features. A few samples are included below, but the engine is capable of much more of that. Display: Redmine assigns an anchor to each of those headings thus you can link to them with "#Heading", "#Subheading" and so forth. Start the paragraph with > Display: Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern. Redmine has the following builtin macros:
- Sample macro. Displays a list of all available macros, including description if available. Displays a list of child pages. With no argument, it displays the child pages of the current wiki page. Examples: Include a wiki page. Example: or to include a page of a specific project wiki: Inserts of collapsed block of text. Example: Displays a clickable thumbnail of an attached image. Examples: Inserts a link to an issue with flexible text. Examples:Wiki formatting (Markdown)
-
-
-
-
-
-
-
-
- Links
-
- Redmine links
-
-
-
-
- #124, link is striked-through if the issue is closed)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- External links
-
-
-http://www.redmine.org, someone@foo.bar
-
-
-
-[Redmine web site](http://www.redmine.org)
-
-
- Text formatting
-
-
- Font style
-
-
-* **bold**
-* *Italic*
-* ***bold italic***
-* _underline_
-* ~~strike-through~~
-
-
-
-
-
- strike-throughInline images
-
-
-
-
- Headings
-
-
-# Heading
-## Subheading
-### Subsubheading
-
-
- Blockquotes
-
-
-> Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.
-To go live, all you need to add is a database and a web server.
-
-
-
-
-
-
-
To go live, all you need to add is a database and a web server.Table of content
-
-
-{{toc}} => left aligned toc
-{{>toc}} => right aligned toc
-
-
- Horizontal Rule
-
-
----
-
-
- Macros
-
-
-
- hello_world
macro_list
child_pages
{{child_pages}} -- can be used from a wiki page only
-{{child_pages(depth=2)}} -- display 2 levels nesting only
include
- {{include(Foo)}}
{{include(projectname:Foo)}}
collapse
{{collapse(View details...)
-This is a block of text that is collapsed by default.
-It can be expanded by clicking a link.
-}}
thumbnail
{{thumbnail(image.png)}}
-{{thumbnail(image.png, size=300, title=Thumbnail)}}
issue
{{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
Default code highlighting relies on Rouge, a pure Ruby code highlighter. Rouge supports many commonly used languages such as c, cpp (c++), csharp (c#, cs), css, diff (patch, udiff), go (golang), groovy, html, java, javascript (js), kotlin, objective_c (objc), perl (pl), php, python (py), r, ruby (rb), sass, scala, shell (bash, zsh, ksh, sh), sql, swift, xml and yaml (yml) languages - the names inside parentheses are aliases. Please refer to the list of languages supported by Redmine code highlighter.
- -You can highlight code at any place that supports wiki formatting using this syntax (note that the language name or alias is case-insensitive):
- --``` ruby - Place your code here. -``` -- -
Example:
- -# The Greeter class
-class Greeter
- def initialize(name)
- @name = name.capitalize
- end
-
- def salute
- puts "Hello #{@name}!"
- end
-end
-
-
-
diff --git a/app/views/help/wiki_syntax/markdown/bg/wiki_syntax_markdown.html.erb b/app/views/help/wiki_syntax/markdown/bg/wiki_syntax_markdown.html.erb
deleted file mode 100644
index 0c75cb7e2..000000000
--- a/app/views/help/wiki_syntax/markdown/bg/wiki_syntax_markdown.html.erb
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
-Font Styles (" target="_blank">more) | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
<%= image_tag("jstoolbar/bt_strong.png", { alt: "Strong" }) %> | **Strong** | Strong | |||||||||
<%= image_tag("jstoolbar/bt_em.png", { alt: "Italic" }) %> | *Italic* | Italic | |||||||||
<%= image_tag("jstoolbar/bt_ins.png", { alt: "Underline" }) %> | _Underline_ | Underline | |||||||||
<%= image_tag("jstoolbar/bt_del.png", { alt: "Deleted" }) %> | ~~Deleted~~ | ||||||||||
<%= image_tag("jstoolbar/bt_code.png", { alt: "Inline code" }) %> | `Inline Code` | Inline Code | |||||||||
<%= image_tag("jstoolbar/bt_pre.png", { alt: "Preformatted text" }) %> | ``` lines of code ``` |
-- lines - of code -- | |||||||||
Highlighted code (" target="_blank">more | supported languages) | |||||||||||
<%= image_tag("jstoolbar/bt_precode.png", { alt: "Вграден код" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
Lists | |||||||||||
<%= image_tag("jstoolbar/bt_ul.png", { alt: "Unordered list" }) %> | * Item 1 * Sub * Item 2 |
| |||||||||
<%= image_tag("jstoolbar/bt_ol.png", { alt: "Ordered list" }) %> | 1. Item 1 1. Sub 2. Item 2 |
| |||||||||
Headings (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_h1.png", { alt: "Heading 1" }) %> | # Title 1 | Title 1 | |||||||||
<%= image_tag("jstoolbar/bt_h2.png", { alt: "Heading 2" }) %> | ## Title 2 | Title 2 | |||||||||
<%= image_tag("jstoolbar/bt_h3.png", { alt: "Heading 3" }) %> | ### Title 3 | Title 3 | |||||||||
Links (" target="_blank">more) | |||||||||||
http://foo.bar | http://foo.bar | ||||||||||
[Foo](http://foo.bar) | Foo | ||||||||||
Redmine links (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_link.png", { alt: "Link to a Wiki page" }) %> | [[Wiki page]] | Wiki page | |||||||||
Issue #12 | Issue #12 | ||||||||||
##12 | Bug #12: The issue subject | ||||||||||
Revision r43 | Revision r43 | ||||||||||
commit:f30e13e43 | f30e13e4 | ||||||||||
source:some/file | source:some/file | ||||||||||
Inline images (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_img.png", { alt: "Image" }) %> | ![](image_url) | ||||||||||
![](attached_image) | |||||||||||
Tables | |||||||||||
- | | A | B | C | |---|---|---| | A | B | C | | D | E | F | |
-
-
|
-
Redmine allows hyperlinking between resources (issues, changesets, wiki pages...) from anywhere wiki formatting is used.
-Wiki links:
- -You can also link to pages of an other project wiki:
- -Wiki links are displayed in red if the page doesn't exist yet, eg: Nonexistent page.
- -Links to other resources:
- -Escaping:
- -URLs (starting with: www, http, https, ftp, ftps, sftp and sftps) and email addresses are automatically turned into clickable links:
- --http://www.redmine.org, someone@foo.bar -- -
displays: http://www.redmine.org, someone@foo.bar
- -If you want to display a specific text instead of the URL, you can use the standard markdown syntax:
- --[Redmine web site](http://www.redmine.org) -- -
displays: Redmine web site
- - -For things such as headlines, bold, tables, lists, Redmine supports Markdown syntax. See http://daringfireball.net/projects/markdown/syntax for information on using any of these features. A few samples are included below, but the engine is capable of much more of that.
- --* **bold** -* *Italic* -* ***bold italic*** -* _underline_ -* ~~strike-through~~ -- -
Display:
- --# Heading -## Subheading -### Subsubheading -- -
Redmine assigns an anchor to each of those headings thus you can link to them with "#Heading", "#Subheading" and so forth.
- - -Start the paragraph with >
- --> Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern. -To go live, all you need to add is a database and a web server. -- -
Display:
- --- - -Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.
-
To go live, all you need to add is a database and a web server.
-{{toc}} => left aligned toc -{{>toc}} => right aligned toc -- -
---- -- -
Redmine has the following builtin macros:
- --
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
include
Include a wiki page. Example:
-{{include(Foo)}}
- or to include a page of a specific project wiki:
-{{include(projectname:Foo)}}
collapse
Inserts of collapsed block of text. Example:
-{{collapse(View details...)
-This is a block of text that is collapsed by default.
-It can be expanded by clicking a link.
-}}
thumbnail
Displays a clickable thumbnail of an attached image. Examples:
-{{thumbnail(image.png)}} -{{thumbnail(image.png, size=300, title=Thumbnail)}}
issue
Inserts a link to an issue with flexible text. 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
Default code highlighting relies on Rouge, a pure Ruby code highlighter. Rouge supports many commonly used languages such as c, cpp (c++), csharp (c#, cs), css, diff (patch, udiff), go (golang), groovy, html, java, javascript (js), kotlin, objective_c (objc), perl (pl), php, python (py), r, ruby (rb), sass, scala, shell (bash, zsh, ksh, sh), sql, swift, xml and yaml (yml) languages - the names inside parentheses are aliases. Please refer to the list of languages supported by Redmine code highlighter.
- -You can highlight code at any place that supports wiki formatting using this syntax (note that the language name or alias is case-insensitive):
- --``` ruby - Place your code here. -``` -- -
Example:
- -# The Greeter class
-class Greeter
- def initialize(name)
- @name = name.capitalize
- end
-
- def salute
- puts "Hello #{@name}!"
- end
-end
-
-
-
diff --git a/app/views/help/wiki_syntax/markdown/ca/wiki_syntax_markdown.html.erb b/app/views/help/wiki_syntax/markdown/ca/wiki_syntax_markdown.html.erb
deleted file mode 100644
index 706afa38e..000000000
--- a/app/views/help/wiki_syntax/markdown/ca/wiki_syntax_markdown.html.erb
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
-Font Styles (" target="_blank">more) | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
<%= image_tag("jstoolbar/bt_strong.png", { alt: "Negreta" }) %> | **Negreta** | Negreta | |||||||||
<%= image_tag("jstoolbar/bt_em.png", { alt: "Cursiva" }) %> | *Cursiva* | Cursiva | |||||||||
<%= image_tag("jstoolbar/bt_ins.png", { alt: "Underline" }) %> | _Underline_ | Underline | |||||||||
<%= image_tag("jstoolbar/bt_del.png", { alt: "Eliminat" }) %> | ~~Eliminat~~ | ||||||||||
<%= image_tag("jstoolbar/bt_code.png", { alt: "Codi en línia" }) %> | `Codi en línia` | Codi en línia | |||||||||
<%= image_tag("jstoolbar/bt_pre.png", { alt: "Linies de codi" }) %> | ``` linies de codi ``` |
-- linies - de codi -- | |||||||||
Highlighted code (" target="_blank">more | supported languages) | |||||||||||
<%= image_tag("jstoolbar/bt_precode.png", { alt: "Highlighted code" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
Llistes | |||||||||||
<%= image_tag("jstoolbar/bt_ul.png", { alt: "Llista desordenada" }) %> | * Article 1 * Sub * Article 2 |
| |||||||||
<%= image_tag("jstoolbar/bt_ol.png", { alt: "Llista Ordenada" }) %> | 1. Article 1 1. Sub 2. Article 2 |
| |||||||||
Capçaleres (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_h1.png", { alt: "Encapçament 1" }) %> | # Títol 1 | Títol 1 | |||||||||
<%= image_tag("jstoolbar/bt_h2.png", { alt: "Encapçament 2" }) %> | ## Títol 2 | Títol 2 | |||||||||
<%= image_tag("jstoolbar/bt_h3.png", { alt: "Encapçament 3" }) %> | ### Títol 3 | Títol 3 | |||||||||
Links (" target="_blank">more) | |||||||||||
http://foo.bar | http://foo.bar | ||||||||||
[Foo](http://foo.bar) | Foo | ||||||||||
Redmine links (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_link.png", { alt: "Link a la pagina Wiki" }) %> | [[Pagina Wiki]] | Pagina Wiki | |||||||||
Assumpte #12 | Assumpte #12 | ||||||||||
##12 | Bug #12: The issue subject | ||||||||||
Revisió r43 | Revisió r43 | ||||||||||
commit:f30e13e43 | f30e13e4 | ||||||||||
source:some/file | source:some/file | ||||||||||
Imatges (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_img.png", { alt: "Imatge" }) %> | ![](imatge_url) | ||||||||||
![](imatge_adjunta) | |||||||||||
Taules | |||||||||||
- | | A | B | C | |---|---|---| | A | B | C | | D | E | F | |
-
-
|
-
Redmine umožňuje hypertextové odkazy mezi jednotlivými zdroji (úkoly, revize, wiki stránky...) kdekoli, kde je použito Wiki formátování.
-Odkazy Wiki:
- -Můžete se také odkazovat na Wiki stránky jiného projektu:
- -Odkazy na Wiki stránky jsou zobrazeny červeně v případě, že odkazovaná stránka dosud neexistuje, např.: Neexistující stránka.
- -Odkazy na další zdroje:
- -Escape sekvence:
- -URL (začínající: www, http, https, ftp, ftps, sftp a sftps) a e-mailové adresy jsou automaticky převedeny na klikací odkazy:
- --http://www.redmine.org, someone@foo.bar -- -
zobrazí: http://www.redmine.org, someone@foo.bar
- -Jestliže chcete zobrazit určitý text místo URL, můžete použít standardní syntaxi Textile:
- --"Webová stránka Redmine":http://www.redmine.org -- -
zobrazí: Webová stránka Redmine
- - -Pro nadpisy, tučný text, tabulky a seznamy, Redmine podporuje syntaxi Markdown. Podívejte se na http://daringfireball.net/projects/markdown/syntax pro informace o využití těchto vlastností. Několik příkladů je uvedeno níže, ale Markdown toho dokáže mnohem víc.
- --* **tučný** -* *kurzíva* -* ***tučná kurzíva*** -* ~~přeškrtnutý~~ -- -
Zobrazí:
- --# Nadpis 1. úrovně -## Nadpis 2. úrovně -### Nadpis 3. úrovně -- -
Redmine přiřadí kotvu ke každému nadpisu, takže se na ně lze odkazovat pomocí "#Nadpis", "#Podnadpis" atd.
- - -Začněte odstavec s >
- --> Rails je framework pro vývoj webových aplikací podle modelu Model-View-Control. -Vše, co je potřeba, je databázový a webový server. -- -
Zobrazí:
- --- - -Rails je framework pro vývoj webových aplikací podle modelu Model-View-Control.
-
Vše, co je potřeba, je databázový a webový server.
-{{toc}} => obsah zarovnaný doleva -{{>toc}} => obsah zarovnaný doprava -- -
---- -- -
Redmine obsahuje následující vestavěná makra:
- --
hello_world
Jednoduché makro.
macro_list
Zobrazí seznam všech dostupných maker, včetně jejich popisu, existuje-li.
child_pages
Zobrazí seznam dětských stránek. Bez parametrů zobrazí dětské stránky aktuální wiki stránky. Např.:
-{{child_pages}} -- lze použít pouze z wiki stránky
-{{child_pages(depth=2)}} -- zobrazí dětské stránky pouze do 2. úrovně
include
Vloží Wiki stránku. Např.:
-{{include(Foo)}}
- or to include a page of a specific project wiki:
-{{include(projectname:Foo)}}
collapse
Vloží sbalený blok textu. Např.:
-{{collapse(Zobrazit detaily...)
-Toto je blok textu, který je sbalený.
-Pro rozbalení klikněte na odkaz.
-}}
thumbnail
Zobrazí klikací náhled obrázku. Např.:
-{{thumbnail(image.png)}} -{{thumbnail(image.png, size=300, title=Thumbnail)}}
issue
Vloží odkaz na úkol s volitelným textem. Např.:
-{{issue(123)}} -- Issue #123: Rozšířené možnosti maker -{{issue(123, project=true)}} -- Andromeda - Issue #123: Rozšířené možnosti maker -{{issue(123, tracker=false)}} -- #123: Rozšířené možnosti maker -{{issue(123, subject=false, project=true)}} -- Andromeda - Úkol #123
Výchozí zvýrazňování kódu závisí na Rouge, zvýrazňovači kódu napsanému v Ruby. Rouge podporuje mnoho běžně používaných jazyků, jako jsou c, cpp (c++), csharp (c#, cs), css, diff (patch, udiff), go (golang), groovy, html, java, javascript (js), kotlin, objective_c (objc), perl (pl), php, python (py), r, ruby (rb), sass, scala, shell (bash, zsh, ksh, sh), sql, swift, xml and yaml (yml) - jména v závorkách jsou aliasy. Podívejte se, prosím, na seznam jazyků poporovaných zvýrazňovačem kódu Redmine.
- -Kód můžete na stránce zvýraznit pomocí následující syntaxe (záleží na velikosti písma jazyku nebo aliasu):
- --``` ruby - Zde vložte Váš kód. -``` -- -
Např:
- -# The Greeter class
-class Greeter
- def initialize(name)
- @name = name.capitalize
- end
-
- def salute
- puts "Ahoj #{@name}!"
- end
-end
-
-
-
diff --git a/app/views/help/wiki_syntax/markdown/cs/wiki_syntax_markdown.html.erb b/app/views/help/wiki_syntax/markdown/cs/wiki_syntax_markdown.html.erb
deleted file mode 100644
index 385b2a38c..000000000
--- a/app/views/help/wiki_syntax/markdown/cs/wiki_syntax_markdown.html.erb
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
-Styly písma (" target="_blank">více) | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
<%= image_tag("jstoolbar/bt_strong.png", { alt: "tučný" }) %> | **tučný** | tučný | |||||||||
<%= image_tag("jstoolbar/bt_em.png", { alt: "kurzíva" }) %> | *kurzíva* | kurzíva | |||||||||
<%= image_tag("jstoolbar/bt_ins.png", { alt: "podtržený" }) %> | _podtržený_ | podtržený | |||||||||
<%= image_tag("jstoolbar/bt_del.png", { alt: "smazaný" }) %> | ~~přeškrtnutý~~ | ||||||||||
<%= image_tag("jstoolbar/bt_code.png", { alt: "vnořený kód" }) %> | `vnořený kód` | vnořený kód | |||||||||
<%= image_tag("jstoolbar/bt_pre.png", { alt: "předformátovaný text" }) %> | ``` řádky kódu ``` |
-- řádky - kódu -- | |||||||||
Zvýrazněný kód (" target="_blank">více | podporované jazyky) | |||||||||||
<%= image_tag("jstoolbar/bt_precode.png", { alt: "Highlighted code" }) %> | ``` ruby 3.times do puts 'Ahoj' end ``` |
-
- | |||||||||
Seznamy | |||||||||||
<%= image_tag("jstoolbar/bt_ul.png", { alt: "Nesetříděný seznam" }) %> | * Položka 1 * Pod * Položka 2 |
| |||||||||
<%= image_tag("jstoolbar/bt_ol.png", { alt: "Setříděný seznam" }) %> | 1. Položka 1 1. Pod 2. Položka 2 |
| |||||||||
Nadpisy (" target="_blank">více) | |||||||||||
<%= image_tag("jstoolbar/bt_h1.png", { alt: "Heading 1" }) %> | # Nadpis 1 | Nadpis 1 | |||||||||
<%= image_tag("jstoolbar/bt_h2.png", { alt: "Heading 2" }) %> | ## Nadpis 2 | Nadpis 2 | |||||||||
<%= image_tag("jstoolbar/bt_h3.png", { alt: "Heading 3" }) %> | ### Nadpis 3 | Nadpis 3 | |||||||||
Odkazy (" target="_blank">more) | |||||||||||
http://foo.bar | http://foo.bar | ||||||||||
[Odkaz](http://foo.bar) | Foo | ||||||||||
Redmine odkazy (" target="_blank">více) | |||||||||||
<%= image_tag("jstoolbar/bt_link.png", { alt: "Link to a Wiki page" }) %> | [[Wiki stránka]] | Wiki stránka | |||||||||
Úkol #12 | Úkol #12 | ||||||||||
##12 | Úkol #12: Předmět úkolu | ||||||||||
Revize r43 | Revize r43 | ||||||||||
commit:f30e13e43 | f30e13e4 | ||||||||||
source:some/file | source:some/file | ||||||||||
Vnořené obrázky (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_img.png", { alt: "Obrázek" }) %> | ![](url_obrázku) | ||||||||||
![](vnořený_obrázek) | |||||||||||
Tabulky | |||||||||||
- | | A | B | C | |---|---|---| | A | B | C | | D | E | F | |
-
-
|
-
Redmine erlaubt Hyperlinks zwischen Ressourcen (Tickets, Änderungssätze, Wiki-Seiten...) überall dort, wo Wiki-Formatierung verwendet wird.
-Wiki-Links:
- -Sie können auch auf Seiten eines anderen Projekt-Wikis verlinken:
- -Wiki-Links werden rot angezeigt, wenn die Seite noch nicht existiert, zB: Nicht vorhandene Seite.
- -Links zu anderen Ressourcen:
- -Link Unterdrückung:
- -URLs (beginnend mit: www, http, https, ftp, ftps, sftp und sftps) und E-Mail-Adressen werden automatisch in anklickbare Links umgewandelt:
- --http://www.redmine.org, someone@foo.bar -- -
Anzeige: http://www.redmine.org, someone@foo.bar
- -Wenn Sie anstelle der URL einen bestimmten Text anzeigen möchten, können Sie die Standard-Markdown-Syntax verwenden:
- --[Redmine Webseite](http://www.redmine.org) -- -
Anzeige: Redmine Webseite
- - -Für Dinge wie Überschriften, Fettdruck, Tabellen, Listen unterstützt Redmine die Markdown-Syntax. Informationen zur Verwendung dieser Funktionen http://daringfireball.net/projects/markdown/syntax for information on using any of these features. Ein paar Beispiele sind unten enthalten, aber die Engine unterstützt noch viel mehr Funktionen.
- --* **Fett gedruckt** -* *kursiv* -* ***Fett Kursiv*** -* _unterstrichen_ -* ~~durchgestrichen~~ -- -
Display:
- --# Überschrift -## Untertitel -### untergeordneter Untertitel -- -
Redmine weist jeder dieser Überschriften einen Anker zu, sodass Sie mit „#Überschrift“, „#Untertitel“ usw. darauf verlinken können.
- - -Beginnen Sie den Absatz mit >
- --> Rails ist ein Full-Stack-Framework zur Entwicklung datenbankgestützter Webanwendungen nach dem Model-View-Control-Muster. -Um live zu gehen, müssen Sie lediglich eine Datenbank und einen Webserver hinzufügen. -- -
Anzeige:
- --- -Rails ist ein Full-Stack-Framework zur Entwicklung datenbankgestützter Webanwendungen nach dem Model-View-Control-Muster.
-
Um live zu gehen, müssen Sie lediglich eine Datenbank und einen Webserver hinzufügen.
-{{toc}} => linksbündiges Inhaltsverzeichnis -{{>toc}} => rechtsbündiges Inhaltsverzeichnis -- -
---- --
Anzeige
-Redmine hat folgende, eingebauten Makros:
- --
hello_world
Beispielmakro
macro_list
Zeigt eine Liste aller verfügbaren Makros an, einschließlich Beschreibung, falls verfügbar.
child_pages
Zeigt eine Liste der untergeordneten Seiten an. Ohne Argument zeigt es die untergeordneten Seiten der aktuellen Wiki-Seite an. Beispiele:
-{{child_pages}} -- kann nur von einer Wiki-Seite aus verwendet werden
-{{child_pages(depth=2)}} -- nur Verschachtelung mit 2 Ebenen anzeigen
include
Fügt eine Wiki-Seite hinzu. Beispiel:
-{{include(Foo)}}
- oder um eine Seite eines bestimmten Projekt-Wikis einzufügen:
-{{include(projectname:Foo)}}
collapse
Einfügung von reduzierten Textblöcken. Beispiel:
-{{collapse(Details anzeigen...)
-Dies ist ein Textblock, der standardmäßig reduziert ist.
-Es kann durch Klicken auf einen Link erweitert werden.
-}}
thumbnail
Zeigt eine anklickbare Miniaturansicht eines angehängten Bildes an. Beispiele:
-{{thumbnail(image.png)}} -{{thumbnail(image.png, size=300, title=Thumbnail)}}
issue
Fügt einen Link zu einem Ticket mit flexiblem Text ein. Beispiele:
-{{issue(123)}} -- Fehler #123: Makrofunktionen verbessern -{{issue(123, project=true)}} -- Andromeda – Fehler #123: Makrofähigkeiten verbessern -{{issue(123, tracker=false)}} -- #123: Makrofähigkeiten verbessern -{{issue(123, subject=false, project=true)}} -- Andromeda - Fehler #123
Die standardmäßige Code-Hervorhebung basiert auf Rouge, einem reinen Ruby-Code-Highlighter. Rouge unterstützt viele häufig verwendete Sprachen wie c, cpp (c++), csharp (c#, cs), css, diff (patch, udiff), go (golang), groovy, html, java, javascript (js), kotlin, objective_c (objc), perl (pl), php, python (py), r, ruby (rb), sass, scala, shell (bash, zsh, ksh, sh), sql, swift, xml und yaml (yml) - die Namen in Klammern sind Aliase. Bitte beachten Sie die Liste der Sprachen, die vom Redmine-Code-Highlighter unterstützt werden.
- -Sie können Code an jeder Stelle hervorheben, die Wiki-Formatierung mit dieser Syntax unterstützt (beachten Sie, dass beim Sprachnamen oder Alias die Groß-/Kleinschreibung nicht beachtet wird):
- --``` ruby - Geben Sie hier Ihren Code ein. -``` -- -
Beispiel:
- -# Die Greeter-Klasse
-class Greeter
- def initialize(name)
- @name = name.capitalize
- end
-
- def salute
- puts "Hallo #{@name}!"
- end
-end
-
-
-
diff --git a/app/views/help/wiki_syntax/markdown/de/wiki_syntax_markdown.html.erb b/app/views/help/wiki_syntax/markdown/de/wiki_syntax_markdown.html.erb
deleted file mode 100644
index 83119def1..000000000
--- a/app/views/help/wiki_syntax/markdown/de/wiki_syntax_markdown.html.erb
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
-Schriftarten (" target="_blank">mehr) | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
<%= image_tag("jstoolbar/bt_strong.png", { alt: "Fett" }) %> | **Fett** | Fett | |||||||||
<%= image_tag("jstoolbar/bt_em.png", { alt: "Kursiv" }) %> | *Kursiv* | Kursiv | |||||||||
<%= image_tag("jstoolbar/bt_ins.png", { alt: "Unterstrichen" }) %> | _Unterstrichen_ | Unterstrichen | |||||||||
<%= image_tag("jstoolbar/bt_del.png", { alt: "Durchgestrichen" }) %> | ~~Durchgestrichen~~ | ||||||||||
<%= image_tag("jstoolbar/bt_code.png", { alt: "Inline code" }) %> | `Inline Code` | Inline Code | |||||||||
<%= image_tag("jstoolbar/bt_pre.png", { alt: "Vorformatiertert Text" }) %> | ``` vorformatierte Textzeilen ``` |
-- vorformatierte - Textzeilen -- | |||||||||
Hervorgehobener Programmcode (" target="_blank">mehr | Unterstützte Sprachen) | |||||||||||
<%= image_tag("jstoolbar/bt_precode.png", { alt: "Highlighted code" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
Listen | |||||||||||
<%= image_tag("jstoolbar/bt_ul.png", { alt: "Ungeordnete Liste" }) %> | * Element 1 * Sub * Element 2 |
| |||||||||
<%= image_tag("jstoolbar/bt_ol.png", { alt: "Geordnete Liste" }) %> | 1. Element 1 1. Sub 2. Element 2 |
| |||||||||
Überschriften (" target="_blank">mehr) | |||||||||||
<%= image_tag("jstoolbar/bt_h1.png", { alt: "Überschrift 1" }) %> | # Titel 1 | Titel 1 | |||||||||
<%= image_tag("jstoolbar/bt_h2.png", { alt: "Überschrift 2" }) %> | ## Titel 2 | Titel 2 | |||||||||
<%= image_tag("jstoolbar/bt_h3.png", { alt: "Überschrift 3" }) %> | ### Titel 3 | Titel 3 | |||||||||
Externe Links (" target="_blank">mehr) | |||||||||||
http://foo.bar | http://foo.bar | ||||||||||
[Foo](http://foo.bar) | Foo | ||||||||||
Redmine interne Links (" target="_blank">mehr) | |||||||||||
<%= image_tag("jstoolbar/bt_link.png", { alt: "Link zu einer Wiki Seite" }) %> | [[Wiki Seite]] | Wiki Seite | |||||||||
Ticket #12 | Ticket #12 | ||||||||||
##12 | Fehler #12: Titel der Aufgabe | ||||||||||
Revision r43 | Revision r43 | ||||||||||
commit:f30e13e43 | f30e13e4 | ||||||||||
source:some/file | source:some/file | ||||||||||
eingebettete Bilder (" target="_blank">mehr) | |||||||||||
<%= image_tag("jstoolbar/bt_img.png", { alt: "Bild" }) %> | ![](URL_zu_dem_Bild) | ||||||||||
![](angehängtes_Bild) | |||||||||||
Tabellen | |||||||||||
- | | A | B | C | |---|---|---| | A | B | C | | D | E | F | |
-
-
|
-
Redmine allows hyperlinking between resources (issues, changesets, wiki pages...) from anywhere wiki formatting is used.
-Wiki links:
- -You can also link to pages of an other project wiki:
- -Wiki links are displayed in red if the page doesn't exist yet, eg: Nonexistent page.
- -Links to other resources:
- -Escaping:
- -URLs (starting with: www, http, https, ftp, ftps, sftp and sftps) and email addresses are automatically turned into clickable links:
- --http://www.redmine.org, someone@foo.bar -- -
displays: http://www.redmine.org, someone@foo.bar
- -If you want to display a specific text instead of the URL, you can use the standard markdown syntax:
- --[Redmine web site](http://www.redmine.org) -- -
displays: Redmine web site
- - -For things such as headlines, bold, tables, lists, Redmine supports Markdown syntax. See http://daringfireball.net/projects/markdown/syntax for information on using any of these features. A few samples are included below, but the engine is capable of much more of that.
- --* **bold** -* *Italic* -* ***bold italic*** -* _underline_ -* ~~strike-through~~ -- -
Display:
- --# Heading -## Subheading -### Subsubheading -- -
Redmine assigns an anchor to each of those headings thus you can link to them with "#Heading", "#Subheading" and so forth.
- - -Start the paragraph with >
- --> Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern. -To go live, all you need to add is a database and a web server. -- -
Display:
- --- - -Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.
-
To go live, all you need to add is a database and a web server.
-{{toc}} => left aligned toc -{{>toc}} => right aligned toc -- -
---- -- -
Redmine has the following builtin macros:
- --
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
include
Include a wiki page. Example:
-{{include(Foo)}}
- or to include a page of a specific project wiki:
-{{include(projectname:Foo)}}
collapse
Inserts of collapsed block of text. Example:
-{{collapse(View details...)
-This is a block of text that is collapsed by default.
-It can be expanded by clicking a link.
-}}
thumbnail
Displays a clickable thumbnail of an attached image. Examples:
-{{thumbnail(image.png)}} -{{thumbnail(image.png, size=300, title=Thumbnail)}}
issue
Inserts a link to an issue with flexible text. 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
Default code highlighting relies on Rouge, a pure Ruby code highlighter. Rouge supports many commonly used languages such as c, cpp (c++), csharp (c#, cs), css, diff (patch, udiff), go (golang), groovy, html, java, javascript (js), kotlin, objective_c (objc), perl (pl), php, python (py), r, ruby (rb), sass, scala, shell (bash, zsh, ksh, sh), sql, swift, xml and yaml (yml) languages - the names inside parentheses are aliases. Please refer to the list of languages supported by Redmine code highlighter.
- -You can highlight code at any place that supports wiki formatting using this syntax (note that the language name or alias is case-insensitive):
- --``` ruby - Place your code here. -``` -- -
Example:
- -# The Greeter class
-class Greeter
- def initialize(name)
- @name = name.capitalize
- end
-
- def salute
- puts "Hello #{@name}!"
- end
-end
-
-
-
diff --git a/app/views/help/wiki_syntax/markdown/en/wiki_syntax_markdown.html.erb b/app/views/help/wiki_syntax/markdown/en/wiki_syntax_markdown.html.erb
deleted file mode 100644
index 38cdc237f..000000000
--- a/app/views/help/wiki_syntax/markdown/en/wiki_syntax_markdown.html.erb
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
-Font Styles (" target="_blank">more) | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
<%= image_tag("jstoolbar/bt_strong.png", { alt: "Strong" }) %> | **Strong** | Strong | |||||||||
<%= image_tag("jstoolbar/bt_em.png", { alt: "Italic" }) %> | *Italic* | Italic | |||||||||
<%= image_tag("jstoolbar/bt_ins.png", { alt: "Underline" }) %> | _Underline_ | Underline | |||||||||
<%= image_tag("jstoolbar/bt_del.png", { alt: "Deleted" }) %> | ~~Deleted~~ | ||||||||||
<%= image_tag("jstoolbar/bt_code.png", { alt: "Inline code" }) %> | `Inline Code` | Inline Code | |||||||||
<%= image_tag("jstoolbar/bt_pre.png", { alt: "Preformatted text" }) %> | ``` lines of code ``` |
-- lines - of code -- | |||||||||
Highlighted code (" target="_blank">more | supported languages) | |||||||||||
<%= image_tag("jstoolbar/bt_precode.png", { alt: "Highlighted code" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
Lists | |||||||||||
<%= image_tag("jstoolbar/bt_ul.png", { alt: "Unordered list" }) %> | * Item 1 * Sub * Item 2 |
| |||||||||
<%= image_tag("jstoolbar/bt_ol.png", { alt: "Ordered list" }) %> | 1. Item 1 1. Sub 2. Item 2 |
| |||||||||
Headings (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_h1.png", { alt: "Heading 1" }) %> | # Title 1 | Title 1 | |||||||||
<%= image_tag("jstoolbar/bt_h2.png", { alt: "Heading 2" }) %> | ## Title 2 | Title 2 | |||||||||
<%= image_tag("jstoolbar/bt_h3.png", { alt: "Heading 3" }) %> | ### Title 3 | Title 3 | |||||||||
Links (" target="_blank">more) | |||||||||||
http://foo.bar | http://foo.bar | ||||||||||
[Foo](http://foo.bar) | Foo | ||||||||||
Redmine links (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_link.png", { alt: "Link to a Wiki page" }) %> | [[Wiki page]] | Wiki page | |||||||||
Issue #12 | Issue #12 | ||||||||||
##12 | Bug #12: The issue subject | ||||||||||
Revision r43 | Revision r43 | ||||||||||
commit:f30e13e43 | f30e13e4 | ||||||||||
source:some/file | source:some/file | ||||||||||
Inline images (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_img.png", { alt: "Image" }) %> | ![](image_url) | ||||||||||
![](attached_image) | |||||||||||
Tables | |||||||||||
- | | A | B | C | |---|---|---| | A | B | C | | D | E | F | |
-
-
|
-
Redmine allows hyperlinking between resources (issues, changesets, wiki pages...) from anywhere wiki formatting is used.
-Wiki links:
- -You can also link to pages of an other project wiki:
- -Wiki links are displayed in red if the page doesn't exist yet, eg: Nonexistent page.
- -Links to other resources:
- -Escaping:
- -URLs (starting with: www, http, https, ftp, ftps, sftp and sftps) and email addresses are automatically turned into clickable links:
- --http://www.redmine.org, someone@foo.bar -- -
displays: http://www.redmine.org, someone@foo.bar
- -If you want to display a specific text instead of the URL, you can use the standard markdown syntax:
- --[Redmine web site](http://www.redmine.org) -- -
displays: Redmine web site
- - -For things such as headlines, bold, tables, lists, Redmine supports Markdown syntax. See http://daringfireball.net/projects/markdown/syntax for information on using any of these features. A few samples are included below, but the engine is capable of much more of that.
- --* **bold** -* *Italic* -* ***bold italic*** -* _underline_ -* ~~strike-through~~ -- -
Display:
- --# Heading -## Subheading -### Subsubheading -- -
Redmine assigns an anchor to each of those headings thus you can link to them with "#Heading", "#Subheading" and so forth.
- - -Start the paragraph with >
- --> Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern. -To go live, all you need to add is a database and a web server. -- -
Display:
- --- - -Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.
-
To go live, all you need to add is a database and a web server.
-{{toc}} => left aligned toc -{{>toc}} => right aligned toc -- -
---- -- -
Redmine has the following builtin macros:
- --
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
include
Include a wiki page. Example:
-{{include(Foo)}}
- or to include a page of a specific project wiki:
-{{include(projectname:Foo)}}
collapse
Inserts of collapsed block of text. Example:
-{{collapse(View details...)
-This is a block of text that is collapsed by default.
-It can be expanded by clicking a link.
-}}
thumbnail
Displays a clickable thumbnail of an attached image. Examples:
-{{thumbnail(image.png)}} -{{thumbnail(image.png, size=300, title=Thumbnail)}}
issue
Inserts a link to an issue with flexible text. 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
Default code highlighting relies on Rouge, a pure Ruby code highlighter. Rouge supports many commonly used languages such as c, cpp (c++), csharp (c#, cs), css, diff (patch, udiff), go (golang), groovy, html, java, javascript (js), kotlin, objective_c (objc), perl (pl), php, python (py), r, ruby (rb), sass, scala, shell (bash, zsh, ksh, sh), sql, swift, xml and yaml (yml) languages - the names inside parentheses are aliases. Please refer to the list of languages supported by Redmine code highlighter.
- -You can highlight code at any place that supports wiki formatting using this syntax (note that the language name or alias is case-insensitive):
- --``` ruby - Place your code here. -``` -- -
Example:
- -# The Greeter class
-class Greeter
- def initialize(name)
- @name = name.capitalize
- end
-
- def salute
- puts "Hello #{@name}!"
- end
-end
-
-
-
diff --git a/app/views/help/wiki_syntax/markdown/es-pa/wiki_syntax_markdown.html.erb b/app/views/help/wiki_syntax/markdown/es-pa/wiki_syntax_markdown.html.erb
deleted file mode 100644
index 6f4ece753..000000000
--- a/app/views/help/wiki_syntax/markdown/es-pa/wiki_syntax_markdown.html.erb
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
-Font Styles (" target="_blank">more) | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
<%= image_tag("jstoolbar/bt_strong.png", { alt: "Strong" }) %> | **Strong** | Strong | |||||||||
<%= image_tag("jstoolbar/bt_em.png", { alt: "Italic" }) %> | *Italic* | Italic | |||||||||
<%= image_tag("jstoolbar/bt_ins.png", { alt: "Underline" }) %> | _Underline_ | Underline | |||||||||
<%= image_tag("jstoolbar/bt_del.png", { alt: "Deleted" }) %> | ~~Deleted~~ | ||||||||||
<%= image_tag("jstoolbar/bt_code.png", { alt: "Inline code" }) %> | `Inline Code` | Inline Code | |||||||||
<%= image_tag("jstoolbar/bt_pre.png", { alt: "Preformatted text" }) %> | ``` lines of code ``` |
-- lines - of code -- | |||||||||
Highlighted code (" target="_blank">more | supported languages) | |||||||||||
<%= image_tag("jstoolbar/bt_precode.png", { alt: "Código resaltado" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
Lists | |||||||||||
<%= image_tag("jstoolbar/bt_ul.png", { alt: "Unordered list" }) %> | * Item 1 * Sub * Item 2 |
| |||||||||
<%= image_tag("jstoolbar/bt_ol.png", { alt: "Ordered list" }) %> | 1. Item 1 1. Sub 2. Item 2 |
| |||||||||
Headings (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_h1.png", { alt: "Heading 1" }) %> | # Title 1 | Title 1 | |||||||||
<%= image_tag("jstoolbar/bt_h2.png", { alt: "Heading 2" }) %> | ## Title 2 | Title 2 | |||||||||
<%= image_tag("jstoolbar/bt_h3.png", { alt: "Heading 3" }) %> | ### Title 3 | Title 3 | |||||||||
Links (" target="_blank">more) | |||||||||||
http://foo.bar | http://foo.bar | ||||||||||
[Foo](http://foo.bar) | Foo | ||||||||||
Redmine links (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_link.png", { alt: "Link to a Wiki page" }) %> | [[Wiki page]] | Wiki page | |||||||||
Issue #12 | Issue #12 | ||||||||||
##12 | Bug #12: The issue subject | ||||||||||
Revision r43 | Revision r43 | ||||||||||
commit:f30e13e43 | f30e13e4 | ||||||||||
source:some/file | source:some/file | ||||||||||
Inline images (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_img.png", { alt: "Image" }) %> | ![](image_url) | ||||||||||
![](attached_image) | |||||||||||
Tables | |||||||||||
- | | A | B | C | |---|---|---| | A | B | C | | D | E | F | |
-
-
|
-
Redmine allows hyperlinking between resources (issues, changesets, wiki pages...) from anywhere wiki formatting is used.
-Wiki links:
- -You can also link to pages of an other project wiki:
- -Wiki links are displayed in red if the page doesn't exist yet, eg: Nonexistent page.
- -Links to other resources:
- -Escaping:
- -URLs (starting with: www, http, https, ftp, ftps, sftp and sftps) and email addresses are automatically turned into clickable links:
- --http://www.redmine.org, someone@foo.bar -- -
displays: http://www.redmine.org, someone@foo.bar
- -If you want to display a specific text instead of the URL, you can use the standard markdown syntax:
- --[Redmine web site](http://www.redmine.org) -- -
displays: Redmine web site
- - -For things such as headlines, bold, tables, lists, Redmine supports Markdown syntax. See http://daringfireball.net/projects/markdown/syntax for information on using any of these features. A few samples are included below, but the engine is capable of much more of that.
- --* **bold** -* *Italic* -* ***bold italic*** -* _underline_ -* ~~strike-through~~ -- -
Display:
- --# Heading -## Subheading -### Subsubheading -- -
Redmine assigns an anchor to each of those headings thus you can link to them with "#Heading", "#Subheading" and so forth.
- - -Start the paragraph with >
- --> Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern. -To go live, all you need to add is a database and a web server. -- -
Display:
- --- - -Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.
-
To go live, all you need to add is a database and a web server.
-{{toc}} => left aligned toc -{{>toc}} => right aligned toc -- -
---- -- -
Redmine has the following builtin macros:
- --
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
include
Include a wiki page. Example:
-{{include(Foo)}}
- or to include a page of a specific project wiki:
-{{include(projectname:Foo)}}
collapse
Inserts of collapsed block of text. Example:
-{{collapse(View details...)
-This is a block of text that is collapsed by default.
-It can be expanded by clicking a link.
-}}
thumbnail
Displays a clickable thumbnail of an attached image. Examples:
-{{thumbnail(image.png)}} -{{thumbnail(image.png, size=300, title=Thumbnail)}}
issue
Inserts a link to an issue with flexible text. 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
Default code highlighting relies on Rouge, a pure Ruby code highlighter. Rouge supports many commonly used languages such as c, cpp (c++), csharp (c#, cs), css, diff (patch, udiff), go (golang), groovy, html, java, javascript (js), kotlin, objective_c (objc), perl (pl), php, python (py), r, ruby (rb), sass, scala, shell (bash, zsh, ksh, sh), sql, swift, xml and yaml (yml) languages - the names inside parentheses are aliases. Please refer to the list of languages supported by Redmine code highlighter.
- -You can highlight code at any place that supports wiki formatting using this syntax (note that the language name or alias is case-insensitive):
- --``` ruby - Place your code here. -``` -- -
Example:
- -# The Greeter class
-class Greeter
- def initialize(name)
- @name = name.capitalize
- end
-
- def salute
- puts "Hello #{@name}!"
- end
-end
-
-
-
diff --git a/app/views/help/wiki_syntax/markdown/es/wiki_syntax_markdown.html.erb b/app/views/help/wiki_syntax/markdown/es/wiki_syntax_markdown.html.erb
deleted file mode 100644
index 6f4ece753..000000000
--- a/app/views/help/wiki_syntax/markdown/es/wiki_syntax_markdown.html.erb
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
-Font Styles (" target="_blank">more) | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
<%= image_tag("jstoolbar/bt_strong.png", { alt: "Strong" }) %> | **Strong** | Strong | |||||||||
<%= image_tag("jstoolbar/bt_em.png", { alt: "Italic" }) %> | *Italic* | Italic | |||||||||
<%= image_tag("jstoolbar/bt_ins.png", { alt: "Underline" }) %> | _Underline_ | Underline | |||||||||
<%= image_tag("jstoolbar/bt_del.png", { alt: "Deleted" }) %> | ~~Deleted~~ | ||||||||||
<%= image_tag("jstoolbar/bt_code.png", { alt: "Inline code" }) %> | `Inline Code` | Inline Code | |||||||||
<%= image_tag("jstoolbar/bt_pre.png", { alt: "Preformatted text" }) %> | ``` lines of code ``` |
-- lines - of code -- | |||||||||
Highlighted code (" target="_blank">more | supported languages) | |||||||||||
<%= image_tag("jstoolbar/bt_precode.png", { alt: "Código resaltado" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
Lists | |||||||||||
<%= image_tag("jstoolbar/bt_ul.png", { alt: "Unordered list" }) %> | * Item 1 * Sub * Item 2 |
| |||||||||
<%= image_tag("jstoolbar/bt_ol.png", { alt: "Ordered list" }) %> | 1. Item 1 1. Sub 2. Item 2 |
| |||||||||
Headings (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_h1.png", { alt: "Heading 1" }) %> | # Title 1 | Title 1 | |||||||||
<%= image_tag("jstoolbar/bt_h2.png", { alt: "Heading 2" }) %> | ## Title 2 | Title 2 | |||||||||
<%= image_tag("jstoolbar/bt_h3.png", { alt: "Heading 3" }) %> | ### Title 3 | Title 3 | |||||||||
Links (" target="_blank">more) | |||||||||||
http://foo.bar | http://foo.bar | ||||||||||
[Foo](http://foo.bar) | Foo | ||||||||||
Redmine links (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_link.png", { alt: "Link to a Wiki page" }) %> | [[Wiki page]] | Wiki page | |||||||||
Issue #12 | Issue #12 | ||||||||||
##12 | Bug #12: The issue subject | ||||||||||
Revision r43 | Revision r43 | ||||||||||
commit:f30e13e43 | f30e13e4 | ||||||||||
source:some/file | source:some/file | ||||||||||
Inline images (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_img.png", { alt: "Image" }) %> | ![](image_url) | ||||||||||
![](attached_image) | |||||||||||
Tables | |||||||||||
- | | A | B | C | |---|---|---| | A | B | C | | D | E | F | |
-
-
|
-
Redmine allows hyperlinking between resources (issues, changesets, wiki pages...) from anywhere wiki formatting is used.
-Wiki links:
- -You can also link to pages of an other project wiki:
- -Wiki links are displayed in red if the page doesn't exist yet, eg: Nonexistent page.
- -Links to other resources:
- -Escaping:
- -URLs (starting with: www, http, https, ftp, ftps, sftp and sftps) and email addresses are automatically turned into clickable links:
- --http://www.redmine.org, someone@foo.bar -- -
displays: http://www.redmine.org, someone@foo.bar
- -If you want to display a specific text instead of the URL, you can use the standard markdown syntax:
- --[Redmine web site](http://www.redmine.org) -- -
displays: Redmine web site
- - -For things such as headlines, bold, tables, lists, Redmine supports Markdown syntax. See http://daringfireball.net/projects/markdown/syntax for information on using any of these features. A few samples are included below, but the engine is capable of much more of that.
- --* **bold** -* *Italic* -* ***bold italic*** -* _underline_ -* ~~strike-through~~ -- -
Display:
- --# Heading -## Subheading -### Subsubheading -- -
Redmine assigns an anchor to each of those headings thus you can link to them with "#Heading", "#Subheading" and so forth.
- - -Start the paragraph with >
- --> Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern. -To go live, all you need to add is a database and a web server. -- -
Display:
- --- - -Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.
-
To go live, all you need to add is a database and a web server.
-{{toc}} => left aligned toc -{{>toc}} => right aligned toc -- -
---- -- -
Redmine has the following builtin macros:
- --
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
include
Include a wiki page. Example:
-{{include(Foo)}}
- or to include a page of a specific project wiki:
-{{include(projectname:Foo)}}
collapse
Inserts of collapsed block of text. Example:
-{{collapse(View details...)
-This is a block of text that is collapsed by default.
-It can be expanded by clicking a link.
-}}
thumbnail
Displays a clickable thumbnail of an attached image. Examples:
-{{thumbnail(image.png)}} -{{thumbnail(image.png, size=300, title=Thumbnail)}}
issue
Inserts a link to an issue with flexible text. 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
Default code highlighting relies on Rouge, a pure Ruby code highlighter. Rouge supports many commonly used languages such as c, cpp (c++), csharp (c#, cs), css, diff (patch, udiff), go (golang), groovy, html, java, javascript (js), kotlin, objective_c (objc), perl (pl), php, python (py), r, ruby (rb), sass, scala, shell (bash, zsh, ksh, sh), sql, swift, xml and yaml (yml) languages - the names inside parentheses are aliases. Please refer to the list of languages supported by Redmine code highlighter.
- -You can highlight code at any place that supports wiki formatting using this syntax (note that the language name or alias is case-insensitive):
- --``` ruby - Place your code here. -``` -- -
Example:
- -# The Greeter class
-class Greeter
- def initialize(name)
- @name = name.capitalize
- end
-
- def salute
- puts "Hello #{@name}!"
- end
-end
-
-
-
diff --git a/app/views/help/wiki_syntax/markdown/fr/wiki_syntax_markdown.html.erb b/app/views/help/wiki_syntax/markdown/fr/wiki_syntax_markdown.html.erb
deleted file mode 100644
index 67d29bfda..000000000
--- a/app/views/help/wiki_syntax/markdown/fr/wiki_syntax_markdown.html.erb
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
-Font Styles (" target="_blank">more) | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
<%= image_tag("jstoolbar/bt_strong.png", { alt: "Strong" }) %> | **Strong** | Strong | |||||||||
<%= image_tag("jstoolbar/bt_em.png", { alt: "Italic" }) %> | *Italic* | Italic | |||||||||
<%= image_tag("jstoolbar/bt_ins.png", { alt: "Underline" }) %> | _Underline_ | Underline | |||||||||
<%= image_tag("jstoolbar/bt_del.png", { alt: "Deleted" }) %> | ~~Deleted~~ | ||||||||||
<%= image_tag("jstoolbar/bt_code.png", { alt: "Inline code" }) %> | `Inline Code` | Inline Code | |||||||||
<%= image_tag("jstoolbar/bt_pre.png", { alt: "Preformatted text" }) %> | ``` lines of code ``` |
-- lines - of code -- | |||||||||
Highlighted code (" target="_blank">more | supported languages) | |||||||||||
<%= image_tag("jstoolbar/bt_precode.png", { alt: "Code colorisé" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
Lists | |||||||||||
<%= image_tag("jstoolbar/bt_ul.png", { alt: "Unordered list" }) %> | * Item 1 * Sub * Item 2 |
| |||||||||
<%= image_tag("jstoolbar/bt_ol.png", { alt: "Ordered list" }) %> | 1. Item 1 1. Sub 2. Item 2 |
| |||||||||
Headings (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_h1.png", { alt: "Heading 1" }) %> | # Title 1 | Title 1 | |||||||||
<%= image_tag("jstoolbar/bt_h2.png", { alt: "Heading 2" }) %> | ## Title 2 | Title 2 | |||||||||
<%= image_tag("jstoolbar/bt_h3.png", { alt: "Heading 3" }) %> | ### Title 3 | Title 3 | |||||||||
Links (" target="_blank">more) | |||||||||||
http://foo.bar | http://foo.bar | ||||||||||
[Foo](http://foo.bar) | Foo | ||||||||||
Redmine links (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_link.png", { alt: "Link to a Wiki page" }) %> | [[Wiki page]] | Wiki page | |||||||||
Issue #12 | Issue #12 | ||||||||||
##12 | Bug #12: The issue subject | ||||||||||
Revision r43 | Revision r43 | ||||||||||
commit:f30e13e43 | f30e13e4 | ||||||||||
source:some/file | source:some/file | ||||||||||
Inline images (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_img.png", { alt: "Image" }) %> | ![](image_url) | ||||||||||
![](attached_image) | |||||||||||
Tables | |||||||||||
- | | A | B | C | |---|---|---| | A | B | C | | D | E | F | |
-
-
|
-
Redmine allows hyperlinking between resources (issues, changesets, wiki pages...) from anywhere wiki formatting is used.
-Wiki links:
- -You can also link to pages of an other project wiki:
- -Wiki links are displayed in red if the page doesn't exist yet, eg: Nonexistent page.
- -Links to other resources:
- -Escaping:
- -URLs (starting with: www, http, https, ftp, ftps, sftp and sftps) and email addresses are automatically turned into clickable links:
- --http://www.redmine.org, someone@foo.bar -- -
displays: http://www.redmine.org, someone@foo.bar
- -If you want to display a specific text instead of the URL, you can use the standard markdown syntax:
- --[Redmine web site](http://www.redmine.org) -- -
displays: Redmine web site
- - -For things such as headlines, bold, tables, lists, Redmine supports Markdown syntax. See http://daringfireball.net/projects/markdown/syntax for information on using any of these features. A few samples are included below, but the engine is capable of much more of that.
- --* **bold** -* *Italic* -* ***bold italic*** -* _underline_ -* ~~strike-through~~ -- -
Display:
- --# Heading -## Subheading -### Subsubheading -- -
Redmine assigns an anchor to each of those headings thus you can link to them with "#Heading", "#Subheading" and so forth.
- - -Start the paragraph with >
- --> Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern. -To go live, all you need to add is a database and a web server. -- -
Display:
- --- - -Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.
-
To go live, all you need to add is a database and a web server.
-{{toc}} => left aligned toc -{{>toc}} => right aligned toc -- -
---- -- -
Redmine has the following builtin macros:
- --
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
include
Include a wiki page. Example:
-{{include(Foo)}}
- or to include a page of a specific project wiki:
-{{include(projectname:Foo)}}
collapse
Inserts of collapsed block of text. Example:
-{{collapse(View details...)
-This is a block of text that is collapsed by default.
-It can be expanded by clicking a link.
-}}
thumbnail
Displays a clickable thumbnail of an attached image. Examples:
-{{thumbnail(image.png)}} -{{thumbnail(image.png, size=300, title=Thumbnail)}}
issue
Inserts a link to an issue with flexible text. 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
Default code highlighting relies on Rouge, a pure Ruby code highlighter. Rouge supports many commonly used languages such as c, cpp (c++), csharp (c#, cs), css, diff (patch, udiff), go (golang), groovy, html, java, javascript (js), kotlin, objective_c (objc), perl (pl), php, python (py), r, ruby (rb), sass, scala, shell (bash, zsh, ksh, sh), sql, swift, xml and yaml (yml) languages - the names inside parentheses are aliases. Please refer to the list of languages supported by Redmine code highlighter.
- -You can highlight code at any place that supports wiki formatting using this syntax (note that the language name or alias is case-insensitive):
- --``` ruby - Place your code here. -``` -- -
Example:
- -# The Greeter class
-class Greeter
- def initialize(name)
- @name = name.capitalize
- end
-
- def salute
- puts "Hello #{@name}!"
- end
-end
-
-
-
diff --git a/app/views/help/wiki_syntax/markdown/gl/wiki_syntax_markdown.html.erb b/app/views/help/wiki_syntax/markdown/gl/wiki_syntax_markdown.html.erb
deleted file mode 100644
index 6f4ece753..000000000
--- a/app/views/help/wiki_syntax/markdown/gl/wiki_syntax_markdown.html.erb
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
-Font Styles (" target="_blank">more) | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
<%= image_tag("jstoolbar/bt_strong.png", { alt: "Strong" }) %> | **Strong** | Strong | |||||||||
<%= image_tag("jstoolbar/bt_em.png", { alt: "Italic" }) %> | *Italic* | Italic | |||||||||
<%= image_tag("jstoolbar/bt_ins.png", { alt: "Underline" }) %> | _Underline_ | Underline | |||||||||
<%= image_tag("jstoolbar/bt_del.png", { alt: "Deleted" }) %> | ~~Deleted~~ | ||||||||||
<%= image_tag("jstoolbar/bt_code.png", { alt: "Inline code" }) %> | `Inline Code` | Inline Code | |||||||||
<%= image_tag("jstoolbar/bt_pre.png", { alt: "Preformatted text" }) %> | ``` lines of code ``` |
-- lines - of code -- | |||||||||
Highlighted code (" target="_blank">more | supported languages) | |||||||||||
<%= image_tag("jstoolbar/bt_precode.png", { alt: "Código resaltado" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
Lists | |||||||||||
<%= image_tag("jstoolbar/bt_ul.png", { alt: "Unordered list" }) %> | * Item 1 * Sub * Item 2 |
| |||||||||
<%= image_tag("jstoolbar/bt_ol.png", { alt: "Ordered list" }) %> | 1. Item 1 1. Sub 2. Item 2 |
| |||||||||
Headings (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_h1.png", { alt: "Heading 1" }) %> | # Title 1 | Title 1 | |||||||||
<%= image_tag("jstoolbar/bt_h2.png", { alt: "Heading 2" }) %> | ## Title 2 | Title 2 | |||||||||
<%= image_tag("jstoolbar/bt_h3.png", { alt: "Heading 3" }) %> | ### Title 3 | Title 3 | |||||||||
Links (" target="_blank">more) | |||||||||||
http://foo.bar | http://foo.bar | ||||||||||
[Foo](http://foo.bar) | Foo | ||||||||||
Redmine links (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_link.png", { alt: "Link to a Wiki page" }) %> | [[Wiki page]] | Wiki page | |||||||||
Issue #12 | Issue #12 | ||||||||||
##12 | Bug #12: The issue subject | ||||||||||
Revision r43 | Revision r43 | ||||||||||
commit:f30e13e43 | f30e13e4 | ||||||||||
source:some/file | source:some/file | ||||||||||
Inline images (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_img.png", { alt: "Image" }) %> | ![](image_url) | ||||||||||
![](attached_image) | |||||||||||
Tables | |||||||||||
- | | A | B | C | |---|---|---| | A | B | C | | D | E | F | |
-
-
|
-
RedmineはWiki記法が使える箇所のどこからでも、チケット・チェンジセット・Wikiページなどのリソースへのリンクができます。
-Wikiへのリンク:
- -別のプロジェクトのwikiへのリンクも可能です:
- -存在しないwikiページへのリンクは赤で表示されます。 例: Nonexistent page.
- -そのほかのリソースへのリンク:
- -エスケープ:
- -URL(starting with: www, http, https, ftp, ftps, sftp and sftps)とメールアドレスは自動的にリンクになります:
- --http://www.redmine.org, someone@foo.bar -- -
上記記述の表示例です: http://www.redmine.org, someone@foo.bar
- -URLのかわりに別のテキストを表示させたい場合は、通常のMarkdown記法が利用できます:
- --[Redmine web site](http://www.redmine.org) -- -
上記記述の表示例です: Redmine web site
- - -見出し、太字、テーブル、リスト等は、RedmineはMarkdownでの記述に対応しています。Markdownの詳細は http://daringfireball.net/projects/markdown/syntax を参照してください。Markdownの一例を以下に示しますが、実際にはここで取り上げた以外の記法にも対応しています。
- --* **太字** -* *斜体* -* ***太字で斜体*** -* ~~取り消し線~~ -- -
表示例:
- --# Heading -## Subheading -### Subsubheading -- -
Redmineは見出しにアンカーを設定するので、"#Heading", "#Subheading"のように記述して見出しへのリンクが行えます。
- - -段落を > で開始してください。
- --> Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern. -To go live, all you need to add is a database and a web server. -- -
表示例:
- --- - -Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.
-
To go live, all you need to add is a database and a web server.
-{{toc}} => 目次(左寄せ) -{{>toc}} => 目次(右寄せ) -- -
---- -- -
Redmineには以下の組み込みマクロが用意されています:
- --
hello_world
サンプルのマクロです。
macro_list
利用可能なマクロの一覧を表示します。マクロの説明があればそれも表示します。
child_pages
子ページの一覧を表示します。引数の指定が無ければ現在のwikiページの子ページを表示します。以下は使用例です:
-{{child_pages}} -- wikiページでのみ使用可能です
-{{child_pages(depth=2)}} -- 2階層分のみ表示します
include
別のWikiページの内容を挿入します。 以下は使用例です:
-{{include(Foo)}}
- 別プロジェクトのWikiページを挿入することもできます:
-{{include(projectname:Foo)}}
collapse
折り畳まれた状態のテキストを挿入します。以下は使用例です:
-{{collapse(詳細を表示...)
-この部分はデフォルトでは折り畳まれた状態で表示されます。
-リンクをクリックすると展開されます。
-}}
thumbnail
添付ファイルのクリック可能なサムネイル画像を表示します。以下は使用例です:
-{{thumbnail(image.png)}} -{{thumbnail(image.png, size=300, title=Thumbnail)}}
issue
チケットへのリンクをカスタマイズ可能なテキストとともに挿入します。以下は使用例です:
-{{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
RedmineはRubyで記述されたコードハイライト用ライブラリ Rouge を使用しています。Rougeは c, cpp (c++), csharp (c#, cs), css, diff (patch, udiff), go (golang), groovy, html, java, javascript (js), kotlin, objective_c (objc), perl (pl), php, python (py), r, ruby (rb), sass, scala, shell (bash, zsh, ksh, sh), sql, swift, xml, yaml (yml) など一般的に使われている多数の言語に対応しています(括弧内の名前はコードハイライトの指定に利用できる別名です)。全対応言語の一覧は List of languages supported by Redmine code highlighter を参照してください。
- -Wiki記法に対応している箇所であればどこでも以下の記述によりコードハイライトが利用できます (言語名・別名では大文字・小文字は区別されません):
- --``` ruby - Place your code here. -``` -- -
表示例:
- -# The Greeter class
-class Greeter
- def initialize(name)
- @name = name.capitalize
- end
-
- def salute
- puts "Hello #{@name}!"
- end
-end
-
-
-
diff --git a/app/views/help/wiki_syntax/markdown/ja/wiki_syntax_markdown.html.erb b/app/views/help/wiki_syntax/markdown/ja/wiki_syntax_markdown.html.erb
deleted file mode 100644
index 6deb4d388..000000000
--- a/app/views/help/wiki_syntax/markdown/ja/wiki_syntax_markdown.html.erb
+++ /dev/null
@@ -1,78 +0,0 @@
-
-
-
-
-Font Styles (" target="_blank">詳細) | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
<%= image_tag("jstoolbar/bt_strong.png", { alt: "太字" }) %> | **太字** | 太字 | |||||||||
<%= image_tag("jstoolbar/bt_em.png", { alt: "斜体" }) %> | *斜体* | 斜体 | |||||||||
<%= image_tag("jstoolbar/bt_del.png", { alt: "取り消し線" }) %> | ~~取り消し線~~ | ||||||||||
<%= image_tag("jstoolbar/bt_code.png", { alt: "コード" }) %> | `コード` | コード | |||||||||
<%= image_tag("jstoolbar/bt_pre.png", { alt: "整形済みテキスト" }) %> | ``` 複数行の コード ``` |
-- 複数行の - コード -- | |||||||||
コードハイライト (" target="_blank">詳細 | 対応言語) | |||||||||||
<%= image_tag("jstoolbar/bt_precode.png", { alt: "コードハイライト" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
リスト | |||||||||||
<%= image_tag("jstoolbar/bt_ul.png", { alt: "リスト" }) %> | * 項目1 * 下位階層の項目 * 項目2 |
| |||||||||
<%= image_tag("jstoolbar/bt_ol.png", { alt: "順序付きリスト" }) %> | 1. 項目1 1. 下位階層の項目 2. 項目2 |
| |||||||||
見出し (" target="_blank">詳細) | |||||||||||
<%= image_tag("jstoolbar/bt_h1.png", { alt: "Heading 1" }) %> | # タイトル1 | タイトル1 | |||||||||
<%= image_tag("jstoolbar/bt_h2.png", { alt: "Heading 2" }) %> | ## タイトル2 | タイトル2 | |||||||||
<%= image_tag("jstoolbar/bt_h3.png", { alt: "Heading 3" }) %> | ### タイトル3 | タイトル3 | |||||||||
リンク (" target="_blank">詳細) | |||||||||||
http://foo.bar | http://foo.bar | ||||||||||
[Foo](http://foo.bar) | Foo | ||||||||||
Redmine内のリンク (" target="_blank">詳細) | |||||||||||
<%= image_tag("jstoolbar/bt_link.png", { alt: "Wikiページへのリンク" }) %> | [[Wiki page]] | Wiki page | |||||||||
チケット #12 | チケット #12 | ||||||||||
##12 | Bug #12: The issue subject | ||||||||||
リビジョン r43 | リビジョン r43 | ||||||||||
commit:f30e13e43 | f30e13e4 | ||||||||||
source:some/file | source:some/file | ||||||||||
画像 (" target="_blank">詳細) | |||||||||||
<%= image_tag("jstoolbar/bt_img.png", { alt: "Image" }) %> | ![](画像URL) | ||||||||||
![](添付ファイル名) | |||||||||||
Tables | |||||||||||
- | | A | B | C | |---|---|---| | A | B | C | | D | E | F | |
-
-
|
-
Redmine allows hyperlinking between resources (issues, changesets, wiki pages...) from anywhere wiki formatting is used.
-Wiki links:
- -You can also link to pages of an other project wiki:
- -Wiki links are displayed in red if the page doesn't exist yet, eg: Nonexistent page.
- -Links to other resources:
- -Escaping:
- -URLs (starting with: www, http, https, ftp, ftps, sftp and sftps) and email addresses are automatically turned into clickable links:
- --http://www.redmine.org, someone@foo.bar -- -
displays: http://www.redmine.org, someone@foo.bar
- -If you want to display a specific text instead of the URL, you can use the standard markdown syntax:
- --[Redmine web site](http://www.redmine.org) -- -
displays: Redmine web site
- - -For things such as headlines, bold, tables, lists, Redmine supports Markdown syntax. See http://daringfireball.net/projects/markdown/syntax for information on using any of these features. A few samples are included below, but the engine is capable of much more of that.
- --* **bold** -* *Italic* -* ***bold italic*** -* _underline_ -* ~~strike-through~~ -- -
Display:
- --# Heading -## Subheading -### Subsubheading -- -
Redmine assigns an anchor to each of those headings thus you can link to them with "#Heading", "#Subheading" and so forth.
- - -Start the paragraph with >
- --> Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern. -To go live, all you need to add is a database and a web server. -- -
Display:
- --- - -Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.
-
To go live, all you need to add is a database and a web server.
-{{toc}} => left aligned toc -{{>toc}} => right aligned toc -- -
---- -- -
Redmine has the following builtin macros:
- --
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
include
Include a wiki page. Example:
-{{include(Foo)}}
- or to include a page of a specific project wiki:
-{{include(projectname:Foo)}}
collapse
Inserts of collapsed block of text. Example:
-{{collapse(View details...)
-This is a block of text that is collapsed by default.
-It can be expanded by clicking a link.
-}}
thumbnail
Displays a clickable thumbnail of an attached image. Examples:
-{{thumbnail(image.png)}} -{{thumbnail(image.png, size=300, title=Thumbnail)}}
issue
Inserts a link to an issue with flexible text. 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
Default code highlighting relies on Rouge, a pure Ruby code highlighter. Rouge supports many commonly used languages such as c, cpp (c++), csharp (c#, cs), css, diff (patch, udiff), go (golang), groovy, html, java, javascript (js), kotlin, objective_c (objc), perl (pl), php, python (py), r, ruby (rb), sass, scala, shell (bash, zsh, ksh, sh), sql, swift, xml and yaml (yml) languages - the names inside parentheses are aliases. Please refer to the list of languages supported by Redmine code highlighter.
- -You can highlight code at any place that supports wiki formatting using this syntax (note that the language name or alias is case-insensitive):
- --``` ruby - Place your code here. -``` -- -
Example:
- -# The Greeter class
-class Greeter
- def initialize(name)
- @name = name.capitalize
- end
-
- def salute
- puts "Hello #{@name}!"
- end
-end
-
-
-
diff --git a/app/views/help/wiki_syntax/markdown/ko/wiki_syntax_markdown.html.erb b/app/views/help/wiki_syntax/markdown/ko/wiki_syntax_markdown.html.erb
deleted file mode 100644
index 7fc03c54b..000000000
--- a/app/views/help/wiki_syntax/markdown/ko/wiki_syntax_markdown.html.erb
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
-Font Styles (" target="_blank">more) | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
<%= image_tag("jstoolbar/bt_strong.png", { alt: "Strong" }) %> | **Strong** | Strong | |||||||||
<%= image_tag("jstoolbar/bt_em.png", { alt: "Italic" }) %> | *Italic* | Italic | |||||||||
<%= image_tag("jstoolbar/bt_ins.png", { alt: "Underline" }) %> | _Underline_ | Underline | |||||||||
<%= image_tag("jstoolbar/bt_del.png", { alt: "Deleted" }) %> | ~~Deleted~~ | ||||||||||
<%= image_tag("jstoolbar/bt_code.png", { alt: "Inline code" }) %> | `Inline Code` | Inline Code | |||||||||
<%= image_tag("jstoolbar/bt_pre.png", { alt: "Preformatted text" }) %> | ``` lines of code ``` |
-- lines - of code -- | |||||||||
Highlighted code (" target="_blank">more | supported languages) | |||||||||||
<%= image_tag("jstoolbar/bt_precode.png", { alt: "색상화한 코드" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
Lists | |||||||||||
<%= image_tag("jstoolbar/bt_ul.png", { alt: "Unordered list" }) %> | * Item 1 * Sub * Item 2 |
| |||||||||
<%= image_tag("jstoolbar/bt_ol.png", { alt: "Ordered list" }) %> | 1. Item 1 1. Sub 2. Item 2 |
| |||||||||
Headings (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_h1.png", { alt: "Heading 1" }) %> | # Title 1 | Title 1 | |||||||||
<%= image_tag("jstoolbar/bt_h2.png", { alt: "Heading 2" }) %> | ## Title 2 | Title 2 | |||||||||
<%= image_tag("jstoolbar/bt_h3.png", { alt: "Heading 3" }) %> | ### Title 3 | Title 3 | |||||||||
Links (" target="_blank">more) | |||||||||||
http://foo.bar | http://foo.bar | ||||||||||
[Foo](http://foo.bar) | Foo | ||||||||||
Redmine links (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_link.png", { alt: "Link to a Wiki page" }) %> | [[Wiki page]] | Wiki page | |||||||||
Issue #12 | Issue #12 | ||||||||||
##12 | Bug #12: The issue subject | ||||||||||
Revision r43 | Revision r43 | ||||||||||
commit:f30e13e43 | f30e13e4 | ||||||||||
source:some/file | source:some/file | ||||||||||
Inline images (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_img.png", { alt: "Image" }) %> | ![](image_url) | ||||||||||
![](attached_image) | |||||||||||
Tables | |||||||||||
- | | A | B | C | |---|---|---| | A | B | C | | D | E | F | |
-
-
|
-
Redmine allows hyperlinking between resources (issues, changesets, wiki pages...) from anywhere wiki formatting is used.
-Wiki links:
- -You can also link to pages of an other project wiki:
- -Wiki links are displayed in red if the page doesn't exist yet, eg: Nonexistent page.
- -Links to other resources:
- -Escaping:
- -URLs (starting with: www, http, https, ftp, ftps, sftp and sftps) and email addresses are automatically turned into clickable links:
- --http://www.redmine.org, someone@foo.bar -- -
displays: http://www.redmine.org, someone@foo.bar
- -If you want to display a specific text instead of the URL, you can use the standard markdown syntax:
- --[Redmine web site](http://www.redmine.org) -- -
displays: Redmine web site
- - -For things such as headlines, bold, tables, lists, Redmine supports Markdown syntax. See http://daringfireball.net/projects/markdown/syntax for information on using any of these features. A few samples are included below, but the engine is capable of much more of that.
- --* **bold** -* *Italic* -* ***bold italic*** -* _underline_ -* ~~strike-through~~ -- -
Display:
- --# Heading -## Subheading -### Subsubheading -- -
Redmine assigns an anchor to each of those headings thus you can link to them with "#Heading", "#Subheading" and so forth.
- - -Start the paragraph with >
- --> Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern. -To go live, all you need to add is a database and a web server. -- -
Display:
- --- - -Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.
-
To go live, all you need to add is a database and a web server.
-{{toc}} => left aligned toc -{{>toc}} => right aligned toc -- -
---- -- -
Redmine has the following builtin macros:
- --
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
include
Include a wiki page. Example:
-{{include(Foo)}}
- or to include a page of a specific project wiki:
-{{include(projectname:Foo)}}
collapse
Inserts of collapsed block of text. Example:
-{{collapse(View details...)
-This is a block of text that is collapsed by default.
-It can be expanded by clicking a link.
-}}
thumbnail
Displays a clickable thumbnail of an attached image. Examples:
-{{thumbnail(image.png)}} -{{thumbnail(image.png, size=300, title=Thumbnail)}}
issue
Inserts a link to an issue with flexible text. 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
Default code highlighting relies on Rouge, a pure Ruby code highlighter. Rouge supports many commonly used languages such as c, cpp (c++), csharp (c#, cs), css, diff (patch, udiff), go (golang), groovy, html, java, javascript (js), kotlin, objective_c (objc), perl (pl), php, python (py), r, ruby (rb), sass, scala, shell (bash, zsh, ksh, sh), sql, swift, xml and yaml (yml) languages - the names inside parentheses are aliases. Please refer to the list of languages supported by Redmine code highlighter.
- -You can highlight code at any place that supports wiki formatting using this syntax (note that the language name or alias is case-insensitive):
- --``` ruby - Place your code here. -``` -- -
Example:
- -# The Greeter class
-class Greeter
- def initialize(name)
- @name = name.capitalize
- end
-
- def salute
- puts "Hello #{@name}!"
- end
-end
-
-
-
diff --git a/app/views/help/wiki_syntax/markdown/nl/wiki_syntax_markdown.html.erb b/app/views/help/wiki_syntax/markdown/nl/wiki_syntax_markdown.html.erb
deleted file mode 100644
index 8a4821aea..000000000
--- a/app/views/help/wiki_syntax/markdown/nl/wiki_syntax_markdown.html.erb
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
-Font Styles (" target="_blank">more) | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
<%= image_tag("jstoolbar/bt_strong.png", { alt: "Strong" }) %> | **Strong** | Strong | |||||||||
<%= image_tag("jstoolbar/bt_em.png", { alt: "Italic" }) %> | *Italic* | Italic | |||||||||
<%= image_tag("jstoolbar/bt_ins.png", { alt: "Underline" }) %> | _Underline_ | Underline | |||||||||
<%= image_tag("jstoolbar/bt_del.png", { alt: "Deleted" }) %> | ~~Deleted~~ | ||||||||||
<%= image_tag("jstoolbar/bt_code.png", { alt: "Inline code" }) %> | `Inline Code` | Inline Code | |||||||||
<%= image_tag("jstoolbar/bt_pre.png", { alt: "Preformatted text" }) %> | ``` lines of code ``` |
-- lines - of code -- | |||||||||
Highlighted code (" target="_blank">more | supported languages) | |||||||||||
<%= image_tag("jstoolbar/bt_precode.png", { alt: "Gemarkeerde code" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
Lists | |||||||||||
<%= image_tag("jstoolbar/bt_ul.png", { alt: "Unordered list" }) %> | * Item 1 * Sub * Item 2 |
| |||||||||
<%= image_tag("jstoolbar/bt_ol.png", { alt: "Ordered list" }) %> | 1. Item 1 1. Sub 2. Item 2 |
| |||||||||
Headings (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_h1.png", { alt: "Heading 1" }) %> | # Title 1 | Title 1 | |||||||||
<%= image_tag("jstoolbar/bt_h2.png", { alt: "Heading 2" }) %> | ## Title 2 | Title 2 | |||||||||
<%= image_tag("jstoolbar/bt_h3.png", { alt: "Heading 3" }) %> | ### Title 3 | Title 3 | |||||||||
Links (" target="_blank">more) | |||||||||||
http://foo.bar | http://foo.bar | ||||||||||
[Foo](http://foo.bar) | Foo | ||||||||||
Redmine links (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_link.png", { alt: "Link to a Wiki page" }) %> | [[Wiki page]] | Wiki page | |||||||||
Issue #12 | Issue #12 | ||||||||||
##12 | Bug #12: The issue subject | ||||||||||
Revision r43 | Revision r43 | ||||||||||
commit:f30e13e43 | f30e13e4 | ||||||||||
source:some/file | source:some/file | ||||||||||
Inline images (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_img.png", { alt: "Image" }) %> | ![](image_url) | ||||||||||
![](attached_image) | |||||||||||
Tables | |||||||||||
- | | A | B | C | |---|---|---| | A | B | C | | D | E | F | |
-
-
|
-
Redmine allows hyperlinking between resources (issues, changesets, wiki pages...) from anywhere wiki formatting is used.
-Wiki links:
- -You can also link to pages of an other project wiki:
- -Wiki links are displayed in red if the page doesn't exist yet, eg: Nonexistent page.
- -Links to other resources:
- -Escaping:
- -URLs (starting with: www, http, https, ftp, ftps, sftp and sftps) and email addresses are automatically turned into clickable links:
- --http://www.redmine.org, someone@foo.bar -- -
displays: http://www.redmine.org, someone@foo.bar
- -If you want to display a specific text instead of the URL, you can use the standard markdown syntax:
- --[Redmine web site](http://www.redmine.org) -- -
displays: Redmine web site
- - -For things such as headlines, bold, tables, lists, Redmine supports Markdown syntax. See http://daringfireball.net/projects/markdown/syntax for information on using any of these features. A few samples are included below, but the engine is capable of much more of that.
- --* **bold** -* *Italic* -* ***bold italic*** -* _underline_ -* ~~strike-through~~ -- -
Display:
- --# Heading -## Subheading -### Subsubheading -- -
Redmine assigns an anchor to each of those headings thus you can link to them with "#Heading", "#Subheading" and so forth.
- - -Start the paragraph with >
- --> Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern. -To go live, all you need to add is a database and a web server. -- -
Display:
- --- - -Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.
-
To go live, all you need to add is a database and a web server.
-{{toc}} => left aligned toc -{{>toc}} => right aligned toc -- -
---- -- -
Redmine has the following builtin macros:
- --
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
include
Include a wiki page. Example:
-{{include(Foo)}}
- or to include a page of a specific project wiki:
-{{include(projectname:Foo)}}
collapse
Inserts of collapsed block of text. Example:
-{{collapse(View details...)
-This is a block of text that is collapsed by default.
-It can be expanded by clicking a link.
-}}
thumbnail
Displays a clickable thumbnail of an attached image. Examples:
-{{thumbnail(image.png)}} -{{thumbnail(image.png, size=300, title=Thumbnail)}}
issue
Inserts a link to an issue with flexible text. 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
Default code highlighting relies on Rouge, a pure Ruby code highlighter. Rouge supports many commonly used languages such as c, cpp (c++), csharp (c#, cs), css, diff (patch, udiff), go (golang), groovy, html, java, javascript (js), kotlin, objective_c (objc), perl (pl), php, python (py), r, ruby (rb), sass, scala, shell (bash, zsh, ksh, sh), sql, swift, xml and yaml (yml) languages - the names inside parentheses are aliases. Please refer to the list of languages supported by Redmine code highlighter.
- -You can highlight code at any place that supports wiki formatting using this syntax (note that the language name or alias is case-insensitive):
- --``` ruby - Place your code here. -``` -- -
Example:
- -# The Greeter class
-class Greeter
- def initialize(name)
- @name = name.capitalize
- end
-
- def salute
- puts "Hello #{@name}!"
- end
-end
-
-
-
diff --git a/app/views/help/wiki_syntax/markdown/pt-br/wiki_syntax_markdown.html.erb b/app/views/help/wiki_syntax/markdown/pt-br/wiki_syntax_markdown.html.erb
deleted file mode 100644
index cbc6f4610..000000000
--- a/app/views/help/wiki_syntax/markdown/pt-br/wiki_syntax_markdown.html.erb
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
-Estilos de Fonte (" target="_blank">more) | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
<%= image_tag("jstoolbar/bt_strong.png", { alt: "Strong" }) %> | **Negrito** | Negrito | |||||||||
<%= image_tag("jstoolbar/bt_em.png", { alt: "Italic" }) %> | *Itálico* | Itálico | |||||||||
<%= image_tag("jstoolbar/bt_ins.png", { alt: "Underline" }) %> | _Sublinhado_ | Sublinhado | |||||||||
<%= image_tag("jstoolbar/bt_del.png", { alt: "Deleted" }) %> | ~~Tachado~~ | ||||||||||
<%= image_tag("jstoolbar/bt_code.png", { alt: "Inline code" }) %> | `Código Inline` | Código Inline | |||||||||
<%= image_tag("jstoolbar/bt_pre.png", { alt: "Preformatted text" }) %> | ``` linhas de código ``` |
-- linhas - de código -- | |||||||||
Highlighted code (" target="_blank">more | supported languages) | |||||||||||
<%= image_tag("jstoolbar/bt_precode.png", { alt: "Highlighted code" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
Listas | |||||||||||
<%= image_tag("jstoolbar/bt_ul.png", { alt: "Unordered list" }) %> | * Item 1 * Sub * Item 2 |
| |||||||||
<%= image_tag("jstoolbar/bt_ol.png", { alt: "Ordered list" }) %> | 1. Item 1 1. Sub 2. Item 2 |
| |||||||||
Cabeçalhos (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_h1.png", { alt: "Heading 1" }) %> | # Título 1 | Título 1 | |||||||||
<%= image_tag("jstoolbar/bt_h2.png", { alt: "Heading 2" }) %> | ## Título 2 | Título 2 | |||||||||
<%= image_tag("jstoolbar/bt_h3.png", { alt: "Heading 3" }) %> | ### Título 3 | Título 3 | |||||||||
Links (" target="_blank">more) | |||||||||||
http://foo.bar | http://foo.bar | ||||||||||
[Foo](http://foo.bar) | Foo | ||||||||||
Links do Redmine (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_link.png", { alt: "Link to a Wiki page" }) %> | [[Página Wiki]] | Página Wiki | |||||||||
Tarefa #12 | Tarefa #12 | ||||||||||
##12 | Bug #12: Título da tarefa | ||||||||||
Revisão r43 | Revisão r43 | ||||||||||
commit:f30e13e43 | f30e13e4 | ||||||||||
source:algum/arquivo | source:algum/arquivo | ||||||||||
Imagens inline (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_img.png", { alt: "Image" }) %> | ![](url_da_imagem) | ||||||||||
![](imagem_anexada) | |||||||||||
Tabelas | |||||||||||
- | | A | B | C | |---|---|---| | A | B | C | | D | E | F | |
-
-
|
-
ரெட்மைன் வளங்களுக்கு இடையில் ஹைப்பர்லிங்கை அனுமதிக்கிறது (சிக்கல்கள், மாற்றங்கள், விக்கி பக்கங்கள்...) எங்கிருந்தும் விக்கி வடிவமைத்தல் பயன்படுத்தப்படுகிறது.
-Wiki links:
- -நீங்கள் வேறு திட்ட விக்கியின் பக்கங்களுக்கும் இணைக்கலாம்:
- -பக்கம் இன்னும் இல்லையென்றால் விக்கி இணைப்புகள் சிவப்பு நிறத்தில் காட்டப்படும், eg: Nonexistent page.
- -பிற ஆவணங்களின் இணைப்புகள்:
- -தப்பித்தல்:
- -URLs (starting with: www, http, https, ftp, ftps, sftp and sftps) மின்னஞ்சல் முகவரிகள் தானாக கிளிக் செய்யக்கூடிய இணைப்புகளாக மாற்றப்படும்:
- --http://www.redmine.org, someone@foo.bar -- -
காட்சிகள்: http://www.redmine.org, someone@foo.bar
- -URL க்கு பதிலாக ஒரு குறிப்பிட்ட உரையைக் காட்ட விரும்பினால், நீங்கள் நிலையான மார்க் டவுன் தொடரியல் பயன்படுத்தலாம்:
- --[Redmine web site](http://www.redmine.org) -- -
காட்சிகள்: ரெட்மைன் வலைத்தளம்
- - -தலைப்புச் செய்திகள், தடித்த, அட்டவணைகள், பட்டியல்கள் போன்ற விஷயங்களுக்கு, ரெட்மைன் மார்க் டவுன் தொடரியல் ஆதரிக்கிறது. See http://daringfireball.net/projects/markdown/syntax இந்த அம்சங்களில் ஏதேனும் ஒன்றைப் பயன்படுத்துவது பற்றிய தகவலுக்கு. ஒரு சில மாதிரிகள் கீழே சேர்க்கப்பட்டுள்ளன, ஆனால் இயந்திரம் அதைவிட அதிக திறன் கொண்டது.
- --* **வலுவான** -* *சாய்வு* -* ***தைரியமான சாய்வு*** -* _அடிக்கோடிட்டுக் காட்டு_ -* ~~வேலைநிறுத்தம் மூலம்~~ -- -
காட்சி:
- --# தலைப்பு -## துணை தலைப்பு -### துணை தலைப்பு -- -
ரெட்மைன் அந்த ஒவ்வொரு தலைப்பிற்கும் ஒரு நங்கூரத்தை ஒதுக்குகிறது, இதனால் நீங்கள் அவற்றுடன் இணைக்க முடியும் "#தலைப்பு"", "#துணை தலைப்பு" மற்றும் முன்னும் பின்னுமாக.
- - -உடன் பத்தியைத் தொடங்குங்கள் >
- --> ரெயில்ஸ் என்பது மாடல்-வியூ-கண்ட்ரோல் முறைக்கு ஏற்ப தரவுத்தள ஆதரவுடைய வலை பயன்பாடுகளை உருவாக்குவதற்கான முழு அடுக்கு கட்டமைப்பாகும். -நேரலைக்குச் செல்ல, நீங்கள் சேர்க்க வேண்டியது தரவுத்தளம் மற்றும் வலை சேவையகம் மட்டுமே. -- -
Display:
- --- - -ரெயில்ஸ் என்பது மாடல்-வியூ-கண்ட்ரோல் முறைக்கு ஏற்ப தரவுத்தள ஆதரவுடைய வலை பயன்பாடுகளை உருவாக்குவதற்கான முழு அடுக்கு கட்டமைப்பாகும்.
-
நேரலைக்குச் செல்ல, நீங்கள் சேர்க்க வேண்டியது தரவுத்தளம் மற்றும் வலை சேவையகம் மட்டுமே.
-{{toc}} => இடது சீரமைக்கப்பட்ட உள்ளடக்க அட்டவணை -{{>toc}} => வலது சீரமைக்கப்பட்ட உள்ளடக்க அட்டவணை -- -
---- -- -
ரெட்மைனில் பின்வரும் பில்டின் குறுநிரல்கள் உள்ளன:
- --
hello_world
மாதிரி குறுநிரல்.
macro_list
விளக்கம் கிடைத்தால் உட்பட, கிடைக்கக்கூடிய அனைத்து மேக்ரோக்களின் பட்டியலையும் காட்டுகிறது.
child_pages
கீழ் பக்கங்களின் பட்டியலைக் காட்டுகிறது. எந்த வாதமும் இல்லாமல், இது தற்போதைய விக்கி பக்கத்தின் கீழ் பக்கங்களைக் காட்டுகிறது. எடுத்துக்காட்டுகள்:
-{{child_pages}} -- விக்கி பக்கத்திலிருந்து மட்டுமே பயன்படுத்த முடியும்
-{{child_pages(depth=2)}} -- 2 நிலைகள் கூடுகளை மட்டும் காண்பி
include
விக்கி பக்கத்தைச் சேர்க்கவும். எடுத்துக்காட்டுகள்:
-{{include(Foo)}}
- அல்லது ஒரு குறிப்பிட்ட திட்ட விக்கியின் பக்கத்தை சேர்க்க:
-{{include(projectname:Foo)}}
collapse
சுருங்கிய தொகுதியின் செருகல்கள். எடுத்துக்காட்டுகள்:
-{{collapse(விபரங்களை பார்...)
-இது முன்னிருப்பாக சரிந்த உரையின் தொகுதி.
-இணைப்பைக் கிளிக் செய்வதன் மூலம் அதை விரிவாக்க முடியும்.
-}}
thumbnail
இணைக்கப்பட்ட படத்தின் கிளிக் செய்யக்கூடிய சிறுபடத்தைக் காட்டுகிறது. எடுத்துக்காட்டுகள்:
-{{thumbnail(image.png)}} -{{thumbnail(image.png, size=300, title=சிறுபடம்)}}
issue
நெகிழ்வான உரையுடன் சிக்கலுக்கான இணைப்பைச் செருகும். எடுத்துக்காட்டுகள்:
-{{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
இயல்புநிலை குறியீடு சிறப்பம்சத்தை நம்பியுள்ளது Rouge, தூய ரூபியில் எழுதப்பட்ட ஒரு தொடரியல் சிறப்பம்சமாக நூலகம். It supports many commonly used languages such as c, cpp (c++), csharp (c#, cs), css, diff (patch, udiff), go (golang), groovy, html, java, javascript (js), kotlin, objective_c (objc), perl (pl), php, python (py), r, ruby (rb), sass, scala, shell (bash, zsh, ksh, sh), sql, swift, xml and yaml (yml) languages, where the names inside parentheses are aliases. Please refer to the list of languages supported by Redmine code highlighter.
- -இந்த தொடரியல் பயன்படுத்தி விக்கி வடிவமைப்பை ஆதரிக்கும் எந்த இடத்திலும் குறியீட்டை முன்னிலைப்படுத்தலாம் (மொழி பெயர் அல்லது மாற்று வழக்கு-உணர்வற்றது என்பதை நினைவில் கொள்க):
- --``` ruby - உங்கள் குறியீட்டை இங்கே வைக்கவும். -``` -- -
எடுத்துக்காட்டுகள்:
- -# The Greeter class
-class Greeter
- def initialize(name)
- @name = name.capitalize
- end
-
- def salute
- puts "Hello #{@name}!"
- end
-end
-
-
-
diff --git a/app/views/help/wiki_syntax/markdown/ta-in/wiki_syntax_markdown.html.erb b/app/views/help/wiki_syntax/markdown/ta-in/wiki_syntax_markdown.html.erb
deleted file mode 100644
index aecc42e81..000000000
--- a/app/views/help/wiki_syntax/markdown/ta-in/wiki_syntax_markdown.html.erb
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
-எழுத்துரு பாங்குகள் (" target="_blank">மேலும்) | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
<%= image_tag("jstoolbar/bt_strong.png", { alt: "Strong" }) %> | **வலுவான** | வலுவான | |||||||||
<%= image_tag("jstoolbar/bt_em.png", { alt: "Italic" }) %> | *சாய்வு* | சாய்வு | |||||||||
<%= image_tag("jstoolbar/bt_ins.png", { alt: "Underline" }) %> | _அடிக்கோடிட்டு_ | அடிக்கோடிட்டு | |||||||||
<%= image_tag("jstoolbar/bt_del.png", { alt: "Deleted" }) %> | ~~நீக்கப்பட்டது~~ | ||||||||||
<%= image_tag("jstoolbar/bt_code.png", { alt: "Inline code" }) %> | `இன்லைன் குறியீடு` | இன்லைன் குறியீடு | |||||||||
<%= image_tag("jstoolbar/bt_pre.png", { alt: "Preformatted text" }) %> | ``` கோடுகள் குறியீடு ``` |
-- கோடுகள் - குறியீடு -- | |||||||||
சிறப்பம்சமாக குறியீடு (" target="_blank">மேலும் | supported languages) | |||||||||||
<%= image_tag("jstoolbar/bt_precode.png", { alt: "Highlighted code" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
பட்டியல்கள் | |||||||||||
<%= image_tag("jstoolbar/bt_ul.png", { alt: "Unordered list" }) %> | * பொருள் 1 * துணை * பொருள் 2 |
| |||||||||
<%= image_tag("jstoolbar/bt_ol.png", { alt: "Ordered list" }) %> | 1. பொருள் 1 1. துணை 2. பொருள் 2 |
| |||||||||
தலைப்புகள்(" target="_blank">மேலும்) | |||||||||||
<%= image_tag("jstoolbar/bt_h1.png", { alt: "Heading 1" }) %> | # தலைப்பு 1 | தலைப்பு 1 | |||||||||
<%= image_tag("jstoolbar/bt_h2.png", { alt: "Heading 2" }) %> | ## தலைப்பு 2 | தலைப்பு 2 | |||||||||
<%= image_tag("jstoolbar/bt_h3.png", { alt: "Heading 3" }) %> | ### தலைப்பு 3 | தலைப்பு 3 | |||||||||
இணைப்புகள் (" target="_blank">மேலும்) | |||||||||||
http://foo.bar | http://foo.bar | ||||||||||
[Foo](http://foo.bar) | Foo | ||||||||||
Redmine இணைப்புகள் (" target="_blank">மேலும்) | |||||||||||
<%= image_tag("jstoolbar/bt_link.png", { alt: "Link to a Wiki page" }) %> | [[Wiki page]] | Wiki page | |||||||||
சிக்கல்கள் #12 | சிக்கல்கள் #12 | ||||||||||
##12 | Bug #12: The issue subject | ||||||||||
திருத்தம் r43 | திருத்தம் r43 | ||||||||||
commit:f30e13e43 | f30e13e4 | ||||||||||
source:some/file | source:some/file | ||||||||||
இன்லைன் படங்கள் (" target="_blank">மேலும) | |||||||||||
<%= image_tag("jstoolbar/bt_img.png", { alt: "Image" }) %> | ![](படம்_url) | ||||||||||
![](இணைக்கப்பட்ட_படம்) | |||||||||||
அட்டவணை | |||||||||||
- | | A | B | C | |---|---|---| | A | B | C | | D | E | F | |
-
-
|
-
Redmine дозволяє гіперпосилання між ресурсами (завданнями, змінами, вікі-сторінками ...) з будь-якого місця, де використовується вікі-форматування.
-Вікі посилання:
- -Ви також можете посилатися на сторінки з вікі іншого проекту:
- -Вікі посилання відображаються червоним кольором, якщо сторінка ще не існує: Неіснуюча сторінка.
- -Посилання на інші ресурси:
- -Запобігання перетворенню(escaping):
- -URLs (starting with: www, http, https, ftp, ftps, sftp and sftps) and email addresses are automatically turned into clickable links:
- --http://www.redmine.org, someone@foo.bar -- -
відображаються як: http://www.redmine.org, someone@foo.bar
- -Якщо ви хочете, відобразити текст замість URL, ви можете використовувати стандартний markdown синтаксис:
- --[Redmine web site](http://www.redmine.org) -- -
відображається як: Redmine web site
- - -Для таких речей як: заголовки, жирний текст, таблиці, списки, Redmine підтримує Markdown синтаксис. Перегляньте http://daringfireball.net/projects/markdown/syntax для отримання інформації як цим користуватись. Нижче наводиться декілька прикладів, але можливості Markdown набагато більщі ніж у наведених прикладах.
- --* **Жирний** -* *Курсив* -* ***Жирний курсив*** -* ~~Закреслений~~ -- -
Відображення:
- --# Заголовок -## Підзаголовок -### Підзаголовок -- -
Redmine призначає якір кожному з цих заголовків, таким чином, ви можете посилатись на них з "#Заголовок", "#Підзаголовок" і так далі.
- - -Почніть параграф з >
- --> Redmine — серверний веб-додаток з відкритим кодом для управління проектами та відстежування помилок. До системи входить календар-планувальник та діаграми Ганта -для візуального представлення ходу робіт за проектом та строків виконання. -- -
Відображається:
- --- - -Redmine — серверний веб-додаток з відкритим кодом для управління проектами та відстежування помилок. До системи входить календар-планувальник та діаграми Ганта для візуального представлення ходу робіт за проектом та строків виконання.
-
-{{toc}} => left aligned toc -{{>toc}} => right aligned toc -- -
---- -- -
Redmine має наступні вбудовані макроси:
- --
hello_world
Приклад макросу.
macro_list
Відображає список всіх доступних макросів, в тому числі опис, якщо такий є.
child_pages
Відображає список дочірніх сторінок. Без аргументів, він відображає дочірні сторінки поточної сторінки вікі. Приклад:
-{{child_pages}} -- може бути використаний тільки на вікі-сторінці
-{{child_pages(depth=2)}} -- відображає тільки 2 рівня вкладень
include
Вставити вікі-сторінку. Приклад:
-{{include(Foo)}}
- або вставити сторінку з конкретного проекту вікі:
-{{include(projectname:Foo)}}
collapse
Втавте блок тексту, який має з'являтись при натисканні на "Детальніше...". Приклад:
-{{collapse(Детальніше...)
-Це блок тексту прихований по замовчуванню.
-Його можливо показати натиснувши на посилання
-}}
thumbnail
Відображає інтерактивні мініатюри вкладеного зображення. Приклади:
-{{thumbnail(image.png)}} -{{thumbnail(image.png, size=300, title=Thumbnail)}}
issue
Inserts a link to an issue with flexible text. 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
Default code highlighting relies on Rouge, a pure Ruby code highlighter. Rouge supports many commonly used languages such as c, cpp (c++), csharp (c#, cs), css, diff (patch, udiff), go (golang), groovy, html, java, javascript (js), kotlin, objective_c (objc), perl (pl), php, python (py), r, ruby (rb), sass, scala, shell (bash, zsh, ksh, sh), sql, swift, xml and yaml (yml) languages - the names inside parentheses are aliases. Please refer to the list of languages supported by Redmine code highlighter.
- -Ви можете виділити підсвіткою код в будь-якому місці, яке підтримує вікі-форматування, використовуючи наступний синтаксис (зверніть увагу, що назва мови або псевдонім не чутливі до регістру):
- --``` ruby - Place your code here. -``` -- -
Приклад:
- -# The Greeter class
-class Greeter
- def initialize(name)
- @name = name.capitalize
- end
-
- def salute
- puts "Hello #{@name}!"
- end
-end
-
-
-
diff --git a/app/views/help/wiki_syntax/markdown/uk/wiki_syntax_markdown.html.erb b/app/views/help/wiki_syntax/markdown/uk/wiki_syntax_markdown.html.erb
deleted file mode 100644
index f20234f96..000000000
--- a/app/views/help/wiki_syntax/markdown/uk/wiki_syntax_markdown.html.erb
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
-Cтилі шрифтів (" target="_blank">more) | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
<%= image_tag("jstoolbar/bt_strong.png", { alt: "Жирний" }) %> | **Жирний** | Жирний | |||||||||
<%= image_tag("jstoolbar/bt_em.png", { alt: "Курсив" }) %> | *Курсив* | Курсив | |||||||||
<%= image_tag("jstoolbar/bt_del.png", { alt: "Закреслений" }) %> | ~~Закреслений~~ | ||||||||||
<%= image_tag("jstoolbar/bt_code.png", { alt: "Інлайн код" }) %> | `Інлайн код` | Інлайн код | |||||||||
<%= image_tag("jstoolbar/bt_pre.png", { alt: "Попередньо відформатований текст" }) %> | ``` Попередньо відформатований текст ``` |
-- Попередньо - відформатований - текст -- | |||||||||
иділений код (" target="_blank">more | supported languages) | |||||||||||
<%= image_tag("jstoolbar/bt_precode.png", { alt: "Виділений код" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
Списки | |||||||||||
<%= image_tag("jstoolbar/bt_ul.png", { alt: "Ненумерованний список" }) %> | * Пункт * Підпункт * Пункт |
| |||||||||
<%= image_tag("jstoolbar/bt_ol.png", { alt: "Нумерований список" }) %> | 1. Пункт 1. Підпункт 2. Пункт |
| |||||||||
Заголовоки (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_h1.png", { alt: "Заголовок 1" }) %> | # Заголовок 1 | Заголовок 1 | |||||||||
<%= image_tag("jstoolbar/bt_h2.png", { alt: "Заголовок 2" }) %> | ## Заголовок 2 | Заголовок 2 | |||||||||
<%= image_tag("jstoolbar/bt_h3.png", { alt: "Заголовок 3" }) %> | ### Заголовок 3 | Заголовок 3 | |||||||||
Лінки(посилання) (" target="_blank">more) | |||||||||||
http://foo.bar | http://foo.bar | ||||||||||
[Foo](http://foo.bar) | Foo | ||||||||||
Redmine посилання (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_link.png", { alt: "Посилання на вікі сторінку" }) %> | [[Вікі сторінка]] | Вікі сторінка | |||||||||
Завдання #12 | Завдання #12 | ||||||||||
##12 | Bug #12: The issue subject | ||||||||||
Revision r43 | Revision r43 | ||||||||||
commit:f30e13e43 | f30e13e4 | ||||||||||
source:some/file | source:some/file | ||||||||||
Вбудовані(inline) зображення (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_img.png", { alt: "Image" }) %> | ![](image_url) | ||||||||||
![](attached_image) | |||||||||||
Таблиці | |||||||||||
- | | A | B | C | |---|---|---| | A | B | C | | D | E | F | |
-
-
|
-
在任何可以使用 Wiki 格式設定的地方, Redmine 都允許在資源 (議題、變更集、 Wiki 頁面...) 間建立超連結。
-Wiki 連結:
- -您也可以連結至其他專案的 Wiki 頁面:
- -當頁面不存在的時候, Wiki 連結會以紅色的方式顯示,例如: Nonexistent page.
- -連結至其他資源:
- -逸出字元:
- -URLs (starting with: www, http, https, ftp, ftps, sftp and sftps) and email addresses are automatically turned into clickable links:
- --http://www.redmine.org, someone@foo.bar -- -
會顯示成: http://www.redmine.org, someone@foo.bar
- -若您想要顯示指定的文字而非該 URL ,您可以使用下列標準的 markdown 語法:
- --[Redmine web site](http://www.redmine.org) -- -
會顯示成: Redmine web site
- - -對於諸如標題、粗體、表格、清單等項目, Redmine 支援使用 Markdown 語法。 可參考 http://daringfireball.net/projects/markdown/syntax 中關於使用這些格式化功能的說明資訊。 下面包含了一些使用範例,但格式化引擎的處理能力遠多於這些簡單的使用範例。
- --* **粗體** -* *斜體* -* ***粗斜體*** -* ~~刪除線~~ -- -
會顯示成:
- --# 標題 -## 次標題 -### 次次標題 -- -
Redmine 為每一種標題指定一個 HTML 錨定 (anchor) ,因此您可使用 "#標題" 、 "#次標題" 等方式連結至這些標題。
- - -使用 > 啟動一個區塊引述的段落。
- --> Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern. -To go live, all you need to add is a database and a web server. -- -
Display:
- --- - -Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.
-
To go live, all you need to add is a database and a web server.
-{{toc}} => 靠左對齊目錄 -{{>toc}} => 靠右對齊目錄 -- -
---- -- -
Redmine 內建下列巨集:
- --
hello_world
範例巨集
macro_list
顯示所有可用巨集的清單,若巨集有提供說明也會一併顯示。
child_pages
顯示子頁面的清單。 若未指定參數,它將會顯示目前 Wiki 頁面的子頁面清單。 範例:
-{{child_pages}} -- 僅可於某 Wiki 頁面中被使用
-{{child_pages(depth=2)}} -- 僅顯示兩層巢狀層次
include
引入一個 wiki 頁面。範例:
-{{include(Foo)}}
- 或用以引入某特定專案的 Wiki 頁面:
-{{include(projectname:Foo)}}
collapse
插入一個摺疊的文字區塊。範例:
-{{collapse(View details...)
-This is a block of text that is collapsed by default.
-It can be expanded by clicking a link.
-}}
thumbnail
顯示可被點擊的附加圖像之縮圖。範例:
-{{thumbnail(image.png)}} -{{thumbnail(image.png, size=300, title=Thumbnail)}}
issue
Inserts a link to an issue with flexible text. 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
Default code highlighting relies on Rouge, a pure Ruby code highlighter. Rouge supports many commonly used languages such as c, cpp (c++), csharp (c#, cs), css, diff (patch, udiff), go (golang), groovy, html, java, javascript (js), kotlin, objective_c (objc), perl (pl), php, python (py), r, ruby (rb), sass, scala, shell (bash, zsh, ksh, sh), sql, swift, xml and yaml (yml) languages - the names inside parentheses are aliases. Please refer to the list of languages supported by Redmine code highlighter.
- -您可載任何支援 Wiki 格式設定的地方,使用這個語法來醒目提示程式碼 (注意語言與其別名的名稱不須區分大小寫):
- --``` ruby - 將程式碼放在這裡。 -``` -- -
範例:
- -# The Greeter class
-class Greeter
- def initialize(name)
- @name = name.capitalize
- end
-
- def salute
- puts "Hello #{@name}!"
- end
-end
-
-
-
diff --git a/app/views/help/wiki_syntax/markdown/zh-tw/wiki_syntax_markdown.html.erb b/app/views/help/wiki_syntax/markdown/zh-tw/wiki_syntax_markdown.html.erb
deleted file mode 100644
index 7f1fcd00e..000000000
--- a/app/views/help/wiki_syntax/markdown/zh-tw/wiki_syntax_markdown.html.erb
+++ /dev/null
@@ -1,78 +0,0 @@
-
-
-
-
-字型樣式 (" target="_blank">more) | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
<%= image_tag("jstoolbar/bt_strong.png", { alt: "強調粗體" }) %> | **強調粗體** | 強調粗體 | |||||||||
<%= image_tag("jstoolbar/bt_em.png", { alt: "斜體" }) %> | *斜體* | 斜體 | |||||||||
<%= image_tag("jstoolbar/bt_del.png", { alt: "刪除線" }) %> | ~~刪除線~~ | ||||||||||
<%= image_tag("jstoolbar/bt_code.png", { alt: "內嵌程式碼" }) %> | `內嵌程式碼` | 內嵌程式碼 | |||||||||
<%= image_tag("jstoolbar/bt_pre.png", { alt: "預先格式化的段落文字" }) %> | ``` 格式化 的段落文字 ``` |
-- 格式化 - 的段落文字 -- | |||||||||
反白程式碼 (" target="_blank">more | supported languages) | |||||||||||
<%= image_tag("jstoolbar/bt_precode.png", { alt: "反白程式碼" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
清單 | |||||||||||
<%= image_tag("jstoolbar/bt_ul.png", { alt: "不排序清單" }) %> | * 清單項目 1 * 子清單項目 * 清單項目 2 |
| |||||||||
<%= image_tag("jstoolbar/bt_ol.png", { alt: "排序清單" }) %> | 1. 清單項目 1 1. 子清單項目 2. 清單項目 2 |
| |||||||||
標題 (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_h1.png", { alt: "標題 1" }) %> | # 標題 1 | 標題 1 | |||||||||
<%= image_tag("jstoolbar/bt_h2.png", { alt: "標題 2" }) %> | ## 標題 2 | 標題 2 | |||||||||
<%= image_tag("jstoolbar/bt_h3.png", { alt: "標題 3" }) %> | ### 標題 3 | 標題 3 | |||||||||
連結 (" target="_blank">more) | |||||||||||
http://foo.bar | http://foo.bar | ||||||||||
[Foo](http://foo.bar) | Foo | ||||||||||
Redmine 連結 (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_link.png", { alt: "連結至一個 Wiki 頁面" }) %> | [[Wiki 頁面]] | Wiki 頁面 | |||||||||
議題 #12 | 議題 #12 | ||||||||||
##12 | Bug #12: The issue subject | ||||||||||
版次 r43 | 版次 r43 | ||||||||||
commit:f30e13e43 | f30e13e4 | ||||||||||
source:some/file | source:some/file | ||||||||||
內嵌圖像 (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/bt_img.png", { alt: "圖像" }) %> | ![](圖像_url) | ||||||||||
![](附加_圖像) | |||||||||||
表格 | |||||||||||
- | | A | B | C | |---|---|---| | A | B | C | | D | E | F | |
-
-
|
-
(.*?)}m, '') - when 'markdown', 'common_mark' + when 'common_mark' content = content.gsub(%r{(~~~|```)(.*?)(~~~|```)}m, '') end diff --git a/lib/redmine/preparation.rb b/lib/redmine/preparation.rb index 553f8693a..1aeb81e46 100644 --- a/lib/redmine/preparation.rb +++ b/lib/redmine/preparation.rb @@ -408,7 +408,6 @@ module Redmine WikiFormatting.map do |format| format.register :textile - format.register :markdown, label: 'Markdown (deprecated)' if Object.const_defined?(:Redcarpet) if Object.const_defined?(:CommonMarker) format.register :common_mark, label: 'CommonMark Markdown (GitHub Flavored)' end diff --git a/lib/redmine/wiki_formatting/markdown/formatter.rb b/lib/redmine/wiki_formatting/markdown/formatter.rb deleted file mode 100644 index f2e7a6581..000000000 --- a/lib/redmine/wiki_formatting/markdown/formatter.rb +++ /dev/null @@ -1,109 +0,0 @@ -# frozen_string_literal: true - -# Redmine - project management software -# Copyright (C) 2006- Jean-Philippe Lang -# -# 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. - -require 'cgi' - -module Redmine - module WikiFormatting - module Markdown - class HTML < Redcarpet::Render::HTML - include ActionView::Helpers::TagHelper - include Redmine::Helpers::URL - - def autolink(link, link_type) - if link_type == :email - link("mailto:#{link}", nil, link) || CGI.escapeHTML(link) - else - content = link - # Pretty printing: if we get an email address as an actual URI, e.g. - # `mailto:foo@bar.com`, we don't want to print the `mailto:` prefix - content = link[7..-1] if link.start_with?('mailto:') - - link(link, nil, content) || CGI.escapeHTML(link) - end - end - - def link(link, title, content) - return nil unless uri_with_link_safe_scheme?(link) - - css = nil - unless link&.starts_with?('/') || link&.starts_with?('mailto:') - css = 'external' - end - content_tag('a', content.to_s.html_safe, :href => link, :title => title, :class => css) - end - - def block_code(code, language) - if language.present? && Redmine::SyntaxHighlighting.language_supported?(language) - html = Redmine::SyntaxHighlighting.highlight_by_language(code, language) - classattr = " class=\"#{CGI.escapeHTML language} syntaxhl\"" - else - html = CGI.escapeHTML(code) - end - # original language for extension development - langattr = " data-language=\"#{CGI.escapeHTML language}\"" if language.present? - "
#{html}
"
- end
-
- def image(link, title, alt_text)
- return unless uri_with_safe_scheme?(link)
-
- tag('img', :src => link, :alt => alt_text || "", :title => title)
- end
- end
-
- class Formatter
- include Redmine::WikiFormatting::LinksHelper
- include Redmine::WikiFormatting::SectionHelper
- alias :inline_restore_redmine_links :restore_redmine_links
-
- def initialize(text)
- @text = text
- end
-
- def to_html(*args)
- html = formatter.render(@text)
- html = inline_restore_redmine_links(html)
- html
- end
-
- private
-
- def formatter
- @@formatter ||= Redcarpet::Markdown.new(
- Redmine::WikiFormatting::Markdown::HTML.new(
- :filter_html => true,
- :hard_wrap => true
- ),
- :autolink => true,
- :fenced_code_blocks => true,
- :space_after_headers => true,
- :tables => true,
- :strikethrough => true,
- :superscript => true,
- :no_intra_emphasis => true,
- :footnotes => true,
- :lax_spacing => true,
- :underline => true
- )
- end
- end
- end
- end
-end
diff --git a/lib/redmine/wiki_formatting/markdown/helper.rb b/lib/redmine/wiki_formatting/markdown/helper.rb
deleted file mode 100644
index e77547412..000000000
--- a/lib/redmine/wiki_formatting/markdown/helper.rb
+++ /dev/null
@@ -1,64 +0,0 @@
-# frozen_string_literal: true
-
-# Redmine - project management software
-# Copyright (C) 2006- Jean-Philippe Lang
-#
-# 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.
-
-module Redmine
- module WikiFormatting
- module Markdown
- module Helper
- def wikitoolbar_for(field_id, preview_url = preview_text_path)
- heads_for_wiki_formatter
-
- javascript_tag(
- "var wikiToolbar = new jsToolBar(document.getElementById('#{field_id}')); " \
- "wikiToolbar.setHelpLink('#{escape_javascript help_wiki_syntax_path}'); " \
- "wikiToolbar.setPreviewUrl('#{escape_javascript preview_url}'); " \
- "wikiToolbar.draw();"
- )
- end
-
- def initial_page_content(page)
- "# #{page.pretty_title}"
- end
-
- def heads_for_wiki_formatter
- unless @heads_for_wiki_formatter_included
- toolbar_language_options = User.current && User.current.pref.toolbar_language_options
- lang =
- if toolbar_language_options.nil?
- UserPreference::DEFAULT_TOOLBAR_LANGUAGE_OPTIONS
- else
- toolbar_language_options.split(',')
- end
- content_for :header_tags do
- javascript_include_tag('jstoolbar/jstoolbar') +
- javascript_include_tag('jstoolbar/markdown') +
- javascript_include_tag("jstoolbar/lang/jstoolbar-#{current_language.to_s.downcase}") +
- javascript_tag(
- "var wikiImageMimeTypes = #{Redmine::MimeType.by_type('image').to_json};" \
- "var userHlLanguages = #{lang.to_json};"
- ) +
- stylesheet_link_tag('jstoolbar')
- end
- @heads_for_wiki_formatter_included = true
- end
- end
- end
- end
- end
-end
diff --git a/lib/redmine/wiki_formatting/markdown/html_parser.rb b/lib/redmine/wiki_formatting/markdown/html_parser.rb
deleted file mode 100644
index 6e16126d9..000000000
--- a/lib/redmine/wiki_formatting/markdown/html_parser.rb
+++ /dev/null
@@ -1,52 +0,0 @@
-# frozen_string_literal: true
-
-# Redmine - project management software
-# Copyright (C) 2006- Jean-Philippe Lang
-#
-# 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.
-
-module Redmine
- module WikiFormatting
- module Markdown
- class HtmlParser < Redmine::WikiFormatting::HtmlParser
- self.tags = tags.merge(
- 'b' => {:pre => '**', :post => '**'},
- 'strong' => {:pre => '**', :post => '**'},
- 'i' => {:pre => '*', :post => '*'},
- 'em' => {:pre => '*', :post => '*'},
- 'u' => {:pre => '_', :post => '_'},
- 'strike' => {:pre => '~~', :post => '~~'},
- 'h1' => {:pre => "\n\n# ", :post => "\n\n"},
- 'h2' => {:pre => "\n\n## ", :post => "\n\n"},
- 'h3' => {:pre => "\n\n### ", :post => "\n\n"},
- 'h4' => {:pre => "\n\n#### ", :post => "\n\n"},
- 'h5' => {:pre => "\n\n##### ", :post => "\n\n"},
- 'h6' => {:pre => "\n\n###### ", :post => "\n\n"},
- 'th' => {:pre => '*', :post => "*\n"},
- 'td' => {:pre => '', :post => "\n"},
- 'a' => lambda do |node|
- if node.content.present? && node.attributes.key?('href')
- %| [#{node.content}](#{node.attributes['href'].value}) |
- elsif node.attributes.key?('href')
- %| #{node.attributes['href'].value} |
- else
- node.content
- end
- end
- )
- end
- end
- end
-end
diff --git a/test/functional/help_controller_test.rb b/test/functional/help_controller_test.rb
index 153a6d518..27838aba9 100644
--- a/test/functional/help_controller_test.rb
+++ b/test/functional/help_controller_test.rb
@@ -25,7 +25,6 @@ class HelpControllerTest < Redmine::ControllerTest
def test_get_help_wiki_syntax
formatters = {
:textile => "Wiki Syntax Quick Reference",
- :markdown => "Wiki Syntax Quick Reference (Markdown)",
:common_mark => "Wiki Syntax Quick Reference (CommonMark Markdown (GitHub Flavored))"
}
@@ -42,7 +41,6 @@ class HelpControllerTest < Redmine::ControllerTest
def test_get_help_wiki_syntax_detailed
formatters = {
:textile => "Wiki formatting",
- :markdown => "Wiki formatting (Markdown)",
:common_mark => "Wiki formatting (CommonMark Markdown (GitHub Flavored))"
}
diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb
index eb3db11e0..617d8bf0c 100644
--- a/test/helpers/application_helper_test.rb
+++ b/test/helpers/application_helper_test.rb
@@ -263,16 +263,16 @@ class ApplicationHelperTest < Redmine::HelperTest
end
def test_attached_images_with_markdown_and_non_ascii_filename
- skip unless Object.const_defined?(:Redcarpet)
+ skip unless Object.const_defined?(:CommonMarker)
to_test = {
'CAFÉ.JPG' => 'CAF%C3%89.JPG',
'crème.jpg' => 'cr%C3%A8me.jpg',
}
- with_settings :text_formatting => 'markdown' do
+ with_settings :text_formatting => 'common_mark' do
to_test.each do |filename, result|
attachment = Attachment.generate!(:filename => filename)
- assert_include %(),
+ assert_include %(),
textilizable("![](#{filename})", :attachments => [attachment])
end
end
@@ -643,9 +643,9 @@ class ApplicationHelperTest < Redmine::HelperTest
end
def test_user_links_with_email_as_login_name_should_not_be_parsed_markdown
- with_settings :text_formatting => 'markdown' do
+ with_settings :text_formatting => 'common_mark' do
u = User.generate!(:login => 'jsmith@somenet.foo')
- html = 'jsmith@somenet.foo'
+ html = 'jsmith@somenet.foo'
# user link format: @jsmith@somenet.foo
raw = "@jsmith@somenet.foo should not be parsed in jsmith@somenet.foo"
@@ -1010,7 +1010,7 @@ class ApplicationHelperTest < Redmine::HelperTest
%r{image@2x.png should not be parsed in image@2x.png
}, textilizable(raw, :attachments => [attachment])) end - with_settings :text_formatting => 'markdown' do + with_settings :text_formatting => 'common_mark' do raw = "attachment:image@2x.png should not be parsed in image@2x.png" assert_match( %r{image@2x.png should not be parsed in image@2x.png
}, @@ -1133,7 +1133,7 @@ class ApplicationHelperTest < Redmine::HelperTest to_test = wiki_links_with_special_characters @project = Project.find(1) - with_settings :text_formatting => 'markdown' do + with_settings :text_formatting => 'common_mark' do to_test.each {|text, result| assert_equal "#{result}
", textilizable(text).strip} end end @@ -1175,7 +1175,7 @@ class ApplicationHelperTest < Redmine::HelperTest with_settings :text_formatting => 'textile' do to_test.each {|text, result| assert_equal "#{result}
", textilizable(text)} end - with_settings :text_formatting => 'markdown' do + with_settings :text_formatting => 'common_mark' do to_test.each {|text, result| assert_equal "#{result}
", textilizable(text).strip} end end @@ -1669,9 +1669,9 @@ class ApplicationHelperTest < Redmine::HelperTest end end - if Object.const_defined?(:Redcarpet) + if Object.const_defined?(:CommonMarker) def test_toc_with_markdown_formatting_should_be_parsed - with_settings :text_formatting => 'markdown' do + with_settings :text_formatting => 'common_mark' do assert_select_in textilizable("{{toc}}\n\n# Heading"), 'ul.toc li', :text => 'Heading' assert_select_in textilizable("{{foo
", @formatter.new("**foo**").to_html.strip - end - - def test_not_set_intra_emphasis - assert_equal "foo_bar_baz
", @formatter.new("foo_bar_baz").to_html.strip - end - - def test_wiki_links_should_be_preserved - text = 'This is a wiki link: [[Foo]]' - assert_include '[[Foo]]', @formatter.new(text).to_html - end - - def test_redmine_links_with_double_quotes_should_be_preserved - text = 'This is a redmine link: version:"1.0"' - assert_include 'version:"1.0"', @formatter.new(text).to_html - end - - def test_should_support_syntax_highlight - text = <<~STR - ~~~ruby - def foo - end - ~~~ - STR - assert_select_in @formatter.new(text).to_html, 'pre code.ruby.syntaxhl' do - assert_select 'span.k', :text => 'def' - assert_select "[data-language='ruby']" - end - end - - def test_should_not_allow_invalid_language_for_code_blocks - text = <<~STR - ~~~foo - test - ~~~ - STR - assert_equal "test\n
", @formatter.new(text).to_html
- end
-
- def test_should_preserve_code_block_language_in_data_language
- text = <<~STR
- ~~~c-k&r
- test
- ~~~
- STR
- assert_equal "test\n
", @formatter.new(text).to_html
- end
-
- def test_external_links_should_have_external_css_class
- text = 'This is a [link](http://example.net/)'
- assert_equal 'This is a link
', @formatter.new(text).to_html.strip - end - - def test_locals_links_should_not_have_external_css_class - text = 'This is a [link](/issues)' - assert_equal 'This is a link
', @formatter.new(text).to_html.strip - end - - def test_markdown_should_not_require_surrounded_empty_line - text = <<~STR - This is a list: - * One - * Two - STR - assert_equal "This is a list:
\n\nThis is some text1.
-This is the foot note ↩
-This text should be underlined
', format(text) - end - - def test_should_autolink_mails - input = "foo@example.org" - assert_equal %(), format(input) - - # The redcloth autolinker parses "plain" mailto links a bit unfortunately. - # We do the best we can here... - input = "mailto:foo@example.org" - assert_equal %(mailto:foo@example.org
), format(input) - end - - def test_should_fixup_mailto_links - input = "#{text}
", format(text) - - text = "@user@example.org" - assert_equal "#{text}
", format(text) - end - - def test_should_fixup_autolinked_hires_files - text = "printscreen@2x.png" - assert_equal "#{text}
", format(text).strip - end - - def test_should_allow_links_with_safe_url_schemes - safe_schemes = %w(http https ftp) - link_safe_schemes = %w(ssh foo) - - (safe_schemes + link_safe_schemes).each do |scheme| - input = "[#{scheme}](#{scheme}://example.com)" - expected = %() - - assert_equal expected, format(input) - end - end - - def test_should_not_allow_links_with_unsafe_url_schemes - unsafe_schemes = %w(data javascript vbscript) - - unsafe_schemes.each do |scheme| - input = "[#{scheme}](#{scheme}:something)" - assert_equal "#{input}
", format(input) - end - end - - def test_should_allow_autolinks_with_safe_url_schemes - safe_schemes = %w(http https ftp) - link_safe_schemes = %w(ssh foo) - - (safe_schemes + link_safe_schemes).each do |scheme| - input = "#{scheme}://example.org" - expected = %() - - assert_equal expected, format(input) if safe_schemes.include?(scheme) - assert_equal expected, format("<#{input}>") - end - end - - def test_should_not_autolink_unsafe_schemes - unsafe_schemes = %w(data javascript vbscript) - - unsafe_schemes.each do |scheme| - link = "#{scheme}:something" - - assert_equal "#{link}
", format(link) - assert_equal "#{link}
", format("<#{link}>") - end - end - - private - - def format(text) - @formatter.new(text).to_html.strip - end - - def assert_section_with_hash(expected, text, index) - result = @formatter.new(text).get_section(index) - - assert_kind_of Array, result - assert_equal 2, result.size - assert_equal expected, result.first, "section content did not match" - assert_equal ActiveSupport::Digest.hexdigest(expected), result.last, "section hash did not match" - end -end diff --git a/test/unit/lib/redmine/wiki_formatting/markdown_html_parser_test.rb b/test/unit/lib/redmine/wiki_formatting/markdown_html_parser_test.rb deleted file mode 100644 index e567ca097..000000000 --- a/test/unit/lib/redmine/wiki_formatting/markdown_html_parser_test.rb +++ /dev/null @@ -1,56 +0,0 @@ -# frozen_string_literal: true - -# Redmine - project management software -# Copyright (C) 2006- Jean-Philippe Lang -# -# 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. - -require_relative '../../../../test_helper' - -class Redmine::WikiFormatting::MarkdownHtmlParserTest < ActiveSupport::TestCase - def setup - @parser = Redmine::WikiFormatting::Markdown::HtmlParser - end - - def test_should_convert_tags - assert_equal( - 'A **simple** html snippet.', - @parser.to_text('A simple html snippet.
') - ) - assert_equal( - 'foo [bar](http://example.com/) baz', - @parser.to_text('foobarbaz') - ) - assert_equal( - 'foo http://example.com/ baz', - @parser.to_text('foobaz') - ) - assert_equal( - 'foobarbaz', - @parser.to_text('foobarbaz') - ) - assert_equal( - 'foobaz', - @parser.to_text('foobaz') - ) - end - - def test_html_tables_conversion - assert_equal( - "*th1*\n*th2*\n\ntd1\ntd2", - @parser.to_text('th1 | th2 |
---|---|
td1 | td2 |