From 5407fea87338e2de3fb4bbd8edcd671eed910a52 Mon Sep 17 00:00:00 2001
From: Go MAEDA 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: https://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 https://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
-
-
-https://www.redmine.org, someone@foo.bar
-
-
-
-[Redmine web site](https://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 35c485737..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/bold.svg", { alt: "Strong" }) %> | **Strong** | Strong | |||||||||
<%= image_tag("jstoolbar/italic.svg", { alt: "Italic" }) %> | *Italic* | Italic | |||||||||
<%= image_tag("jstoolbar/underline.svg", { alt: "Underline" }) %> | _Underline_ | Underline | |||||||||
<%= image_tag("jstoolbar/strikethrough.svg", { alt: "Deleted" }) %> | ~~Deleted~~ | ||||||||||
<%= image_tag("jstoolbar/letter-c.svg", { alt: "Inline code" }) %> | `Inline Code` | Inline Code | |||||||||
``` lines of code ``` |
-- lines - of code -- | ||||||||||
Highlighted code (" target="_blank">more | supported languages) | |||||||||||
<%= image_tag("jstoolbar/code.svg", { alt: "ÐгÑаден код" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
Lists | |||||||||||
<%= image_tag("jstoolbar/list.svg", { alt: "Unordered list" }) %> | * Item 1 * Sub * Item 2 |
| |||||||||
<%= image_tag("jstoolbar/list-numbers.svg", { alt: "Ordered list" }) %> | 1. Item 1 1. Sub 2. Item 2 |
| |||||||||
Headings (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/h1.svg", { alt: "Heading 1" }) %> | # Title 1 | Title 1 | |||||||||
<%= image_tag("jstoolbar/h2.svg", { alt: "Heading 2" }) %> | ## Title 2 | Title 2 | |||||||||
<%= image_tag("jstoolbar/h3.svg", { 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/wiki_link.svg", { 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/image.svg", { 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:
- --https://www.redmine.org, someone@foo.bar -- -
displays: https://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](https://www.redmine.org) -- -
displays: Redmine web site
- - -For things such as headlines, bold, tables, lists, Redmine supports Markdown syntax. See https://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 117c71224..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/bold.svg", { alt: "Negreta" }) %> | **Negreta** | Negreta | |||||||||
<%= image_tag("jstoolbar/italic.svg", { alt: "Cursiva" }) %> | *Cursiva* | Cursiva | |||||||||
<%= image_tag("jstoolbar/underline.svg", { alt: "Underline" }) %> | _Underline_ | Underline | |||||||||
<%= image_tag("jstoolbar/strikethrough.svg", { alt: "Eliminat" }) %> | ~~Eliminat~~ | ||||||||||
<%= image_tag("jstoolbar/letter-c.svg", { alt: "Codi en lÃnia" }) %> | `Codi en lÃnia` | Codi en lÃnia | |||||||||
``` linies de codi ``` |
-- linies - de codi -- | ||||||||||
Highlighted code (" target="_blank">more | supported languages) | |||||||||||
<%= image_tag("jstoolbar/code.svg", { alt: "Highlighted code" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
Llistes | |||||||||||
<%= image_tag("jstoolbar/list.svg", { alt: "Llista desordenada" }) %> | * Article 1 * Sub * Article 2 |
| |||||||||
<%= image_tag("jstoolbar/list-numbers.svg", { alt: "Llista Ordenada" }) %> | 1. Article 1 1. Sub 2. Article 2 |
| |||||||||
Capçaleres (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/h1.svg", { alt: "Encapçament 1" }) %> | # TÃtol 1 | TÃtol 1 | |||||||||
<%= image_tag("jstoolbar/h2.svg", { alt: "Encapçament 2" }) %> | ## TÃtol 2 | TÃtol 2 | |||||||||
<%= image_tag("jstoolbar/h3.svg", { 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/wiki_link.svg", { 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/image.svg", { 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:
- --https://www.redmine.org, someone@foo.bar -- -
zobrazÃ: https://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":https://www.redmine.org -- -
zobrazÃ: Webová stránka Redmine
- - -Pro nadpisy, tuÄný text, tabulky a seznamy, Redmine podporuje syntaxi Markdown. PodÃvejte se na https://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 64053f511..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/bold.svg", { alt: "tuÄný" }) %> | **tuÄný** | tuÄný | |||||||||
<%= image_tag("jstoolbar/italic.svg", { alt: "kurzÃva" }) %> | *kurzÃva* | kurzÃva | |||||||||
<%= image_tag("jstoolbar/underline.svg", { alt: "podtržený" }) %> | _podtržený_ | podtržený | |||||||||
<%= image_tag("jstoolbar/strikethrough.svg", { alt: "smazaný" }) %> | ~~pÅeÅ¡krtnutý~~ | ||||||||||
<%= image_tag("jstoolbar/letter-c.svg", { alt: "vnoÅený kód" }) %> | `vnoÅený kód` | vnoÅený kód | |||||||||
``` Åádky kódu ``` |
-- Åádky - kódu -- | ||||||||||
ZvýraznÄný kód (" target="_blank">vÃce | podporované jazyky) | |||||||||||
<%= image_tag("jstoolbar/code.svg", { alt: "Highlighted code" }) %> | ``` ruby 3.times do puts 'Ahoj' end ``` |
-
- | |||||||||
Seznamy | |||||||||||
<%= image_tag("jstoolbar/list.svg", { alt: "NesetÅÃdÄný seznam" }) %> | * Položka 1 * Pod * Položka 2 |
| |||||||||
<%= image_tag("jstoolbar/list-numbers.svg", { alt: "SetÅÃdÄný seznam" }) %> | 1. Položka 1 1. Pod 2. Položka 2 |
| |||||||||
Nadpisy (" target="_blank">vÃce) | |||||||||||
<%= image_tag("jstoolbar/h1.svg", { alt: "Heading 1" }) %> | # Nadpis 1 | Nadpis 1 | |||||||||
<%= image_tag("jstoolbar/h2.svg", { alt: "Heading 2" }) %> | ## Nadpis 2 | Nadpis 2 | |||||||||
<%= image_tag("jstoolbar/h3.svg", { 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/wiki_link.svg", { 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/image.svg", { 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:
- --https://www.redmine.org, someone@foo.bar -- -
Anzeige: https://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](https://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 https://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 372e2d4cd..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/bold.svg", { alt: "Fett" }) %> | **Fett** | Fett | |||||||||
<%= image_tag("jstoolbar/italic.svg", { alt: "Kursiv" }) %> | *Kursiv* | Kursiv | |||||||||
<%= image_tag("jstoolbar/underline.svg", { alt: "Unterstrichen" }) %> | _Unterstrichen_ | Unterstrichen | |||||||||
<%= image_tag("jstoolbar/strikethrough.svg", { alt: "Durchgestrichen" }) %> | ~~Durchgestrichen~~ | ||||||||||
<%= image_tag("jstoolbar/letter-c.svg", { alt: "Inline code" }) %> | `Inline Code` | Inline Code | |||||||||
``` vorformatierte Textzeilen ``` |
-- vorformatierte - Textzeilen -- | ||||||||||
Hervorgehobener Programmcode (" target="_blank">mehr | Unterstützte Sprachen) | |||||||||||
<%= image_tag("jstoolbar/code.svg", { alt: "Highlighted code" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
Listen | |||||||||||
<%= image_tag("jstoolbar/list.svg", { alt: "Ungeordnete Liste" }) %> | * Element 1 * Sub * Element 2 |
| |||||||||
<%= image_tag("jstoolbar/list-numbers.svg", { alt: "Geordnete Liste" }) %> | 1. Element 1 1. Sub 2. Element 2 |
| |||||||||
Ãberschriften (" target="_blank">mehr) | |||||||||||
<%= image_tag("jstoolbar/h1.svg", { alt: "Ãberschrift 1" }) %> | # Titel 1 | Titel 1 | |||||||||
<%= image_tag("jstoolbar/h2.svg", { alt: "Ãberschrift 2" }) %> | ## Titel 2 | Titel 2 | |||||||||
<%= image_tag("jstoolbar/h3.svg", { 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/wiki_link.svg", { 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/image.svg", { 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:
- --https://www.redmine.org, someone@foo.bar -- -
displays: https://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](https://www.redmine.org) -- -
displays: Redmine web site
- - -For things such as headlines, bold, tables, lists, Redmine supports Markdown syntax. See https://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 c5f2b76df..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/bold.svg", { alt: "Strong" }) %> | **Strong** | Strong | |||||||||
<%= image_tag("jstoolbar/italic.svg", { alt: "Italic" }) %> | *Italic* | Italic | |||||||||
<%= image_tag("jstoolbar/underline.svg", { alt: "Underline" }) %> | _Underline_ | Underline | |||||||||
<%= image_tag("jstoolbar/strikethrough.svg", { alt: "Deleted" }) %> | ~~Deleted~~ | ||||||||||
<%= image_tag("jstoolbar/letter-c.svg", { alt: "Inline code" }) %> | `Inline Code` | Inline Code | |||||||||
``` lines of code ``` |
-- lines - of code -- | ||||||||||
Highlighted code (" target="_blank">more | supported languages) | |||||||||||
<%= image_tag("jstoolbar/code.svg", { alt: "Highlighted code" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
Lists | |||||||||||
<%= image_tag("jstoolbar/list.svg", { alt: "Unordered list" }) %> | * Item 1 * Sub * Item 2 |
| |||||||||
<%= image_tag("jstoolbar/list-numbers.svg", { alt: "Ordered list" }) %> | 1. Item 1 1. Sub 2. Item 2 |
| |||||||||
Headings (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/h1.svg", { alt: "Heading 1" }) %> | # Title 1 | Title 1 | |||||||||
<%= image_tag("jstoolbar/h2.svg", { alt: "Heading 2" }) %> | ## Title 2 | Title 2 | |||||||||
<%= image_tag("jstoolbar/h3.svg", { 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/wiki_link.svg", { 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/image.svg", { 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:
- --https://www.redmine.org, someone@foo.bar -- -
displays: https://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](https://www.redmine.org) -- -
displays: Redmine web site
- - -For things such as headlines, bold, tables, lists, Redmine supports Markdown syntax. See https://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 e3df370dc..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/bold.svg", { alt: "Strong" }) %> | **Strong** | Strong | |||||||||
<%= image_tag("jstoolbar/italic.svg", { alt: "Italic" }) %> | *Italic* | Italic | |||||||||
<%= image_tag("jstoolbar/underline.svg", { alt: "Underline" }) %> | _Underline_ | Underline | |||||||||
<%= image_tag("jstoolbar/strikethrough.svg", { alt: "Deleted" }) %> | ~~Deleted~~ | ||||||||||
<%= image_tag("jstoolbar/letter-c.svg", { alt: "Inline code" }) %> | `Inline Code` | Inline Code | |||||||||
``` lines of code ``` |
-- lines - of code -- | ||||||||||
Highlighted code (" target="_blank">more | supported languages) | |||||||||||
<%= image_tag("jstoolbar/code.svg", { alt: "Código resaltado" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
Lists | |||||||||||
<%= image_tag("jstoolbar/list.svg", { alt: "Unordered list" }) %> | * Item 1 * Sub * Item 2 |
| |||||||||
<%= image_tag("jstoolbar/list-numbers.svg", { alt: "Ordered list" }) %> | 1. Item 1 1. Sub 2. Item 2 |
| |||||||||
Headings (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/h1.svg", { alt: "Heading 1" }) %> | # Title 1 | Title 1 | |||||||||
<%= image_tag("jstoolbar/h2.svg", { alt: "Heading 2" }) %> | ## Title 2 | Title 2 | |||||||||
<%= image_tag("jstoolbar/h3.svg", { 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/wiki_link.svg", { 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/image.svg", { 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:
- --https://www.redmine.org, someone@foo.bar -- -
displays: https://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](https://www.redmine.org) -- -
displays: Redmine web site
- - -For things such as headlines, bold, tables, lists, Redmine supports Markdown syntax. See https://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 e3df370dc..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/bold.svg", { alt: "Strong" }) %> | **Strong** | Strong | |||||||||
<%= image_tag("jstoolbar/italic.svg", { alt: "Italic" }) %> | *Italic* | Italic | |||||||||
<%= image_tag("jstoolbar/underline.svg", { alt: "Underline" }) %> | _Underline_ | Underline | |||||||||
<%= image_tag("jstoolbar/strikethrough.svg", { alt: "Deleted" }) %> | ~~Deleted~~ | ||||||||||
<%= image_tag("jstoolbar/letter-c.svg", { alt: "Inline code" }) %> | `Inline Code` | Inline Code | |||||||||
``` lines of code ``` |
-- lines - of code -- | ||||||||||
Highlighted code (" target="_blank">more | supported languages) | |||||||||||
<%= image_tag("jstoolbar/code.svg", { alt: "Código resaltado" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
Lists | |||||||||||
<%= image_tag("jstoolbar/list.svg", { alt: "Unordered list" }) %> | * Item 1 * Sub * Item 2 |
| |||||||||
<%= image_tag("jstoolbar/list-numbers.svg", { alt: "Ordered list" }) %> | 1. Item 1 1. Sub 2. Item 2 |
| |||||||||
Headings (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/h1.svg", { alt: "Heading 1" }) %> | # Title 1 | Title 1 | |||||||||
<%= image_tag("jstoolbar/h2.svg", { alt: "Heading 2" }) %> | ## Title 2 | Title 2 | |||||||||
<%= image_tag("jstoolbar/h3.svg", { 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/wiki_link.svg", { 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/image.svg", { 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:
- --https://www.redmine.org, someone@foo.bar -- -
displays: https://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](https://www.redmine.org) -- -
displays: Redmine web site
- - -For things such as headlines, bold, tables, lists, Redmine supports Markdown syntax. See https://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 0e2485937..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/bold.svg", { alt: "Strong" }) %> | **Strong** | Strong | |||||||||
<%= image_tag("jstoolbar/italic.svg", { alt: "Italic" }) %> | *Italic* | Italic | |||||||||
<%= image_tag("jstoolbar/underline.svg", { alt: "Underline" }) %> | _Underline_ | Underline | |||||||||
<%= image_tag("jstoolbar/strikethrough.svg", { alt: "Deleted" }) %> | ~~Deleted~~ | ||||||||||
<%= image_tag("jstoolbar/letter-c.svg", { alt: "Inline code" }) %> | `Inline Code` | Inline Code | |||||||||
``` lines of code ``` |
-- lines - of code -- | ||||||||||
Highlighted code (" target="_blank">more | supported languages) | |||||||||||
<%= image_tag("jstoolbar/code.svg", { alt: "Code colorisé" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
Lists | |||||||||||
<%= image_tag("jstoolbar/list.svg", { alt: "Unordered list" }) %> | * Item 1 * Sub * Item 2 |
| |||||||||
<%= image_tag("jstoolbar/list-numbers.svg", { alt: "Ordered list" }) %> | 1. Item 1 1. Sub 2. Item 2 |
| |||||||||
Headings (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/h1.svg", { alt: "Heading 1" }) %> | # Title 1 | Title 1 | |||||||||
<%= image_tag("jstoolbar/h2.svg", { alt: "Heading 2" }) %> | ## Title 2 | Title 2 | |||||||||
<%= image_tag("jstoolbar/h3.svg", { 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/wiki_link.svg", { 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/image.svg", { 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:
- --https://www.redmine.org, someone@foo.bar -- -
displays: https://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](https://www.redmine.org) -- -
displays: Redmine web site
- - -For things such as headlines, bold, tables, lists, Redmine supports Markdown syntax. See https://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 e3df370dc..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/bold.svg", { alt: "Strong" }) %> | **Strong** | Strong | |||||||||
<%= image_tag("jstoolbar/italic.svg", { alt: "Italic" }) %> | *Italic* | Italic | |||||||||
<%= image_tag("jstoolbar/underline.svg", { alt: "Underline" }) %> | _Underline_ | Underline | |||||||||
<%= image_tag("jstoolbar/strikethrough.svg", { alt: "Deleted" }) %> | ~~Deleted~~ | ||||||||||
<%= image_tag("jstoolbar/letter-c.svg", { alt: "Inline code" }) %> | `Inline Code` | Inline Code | |||||||||
``` lines of code ``` |
-- lines - of code -- | ||||||||||
Highlighted code (" target="_blank">more | supported languages) | |||||||||||
<%= image_tag("jstoolbar/code.svg", { alt: "Código resaltado" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
Lists | |||||||||||
<%= image_tag("jstoolbar/list.svg", { alt: "Unordered list" }) %> | * Item 1 * Sub * Item 2 |
| |||||||||
<%= image_tag("jstoolbar/list-numbers.svg", { alt: "Ordered list" }) %> | 1. Item 1 1. Sub 2. Item 2 |
| |||||||||
Headings (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/h1.svg", { alt: "Heading 1" }) %> | # Title 1 | Title 1 | |||||||||
<%= image_tag("jstoolbar/h2.svg", { alt: "Heading 2" }) %> | ## Title 2 | Title 2 | |||||||||
<%= image_tag("jstoolbar/h3.svg", { 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/wiki_link.svg", { 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/image.svg", { 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)ã¨ã¡ã¼ã«ã¢ãã¬ã¹ã¯èªåçã«ãªã³ã¯ã«ãªãã¾ã:
- --https://www.redmine.org, someone@foo.bar -- -
ä¸è¨è¨è¿°ã®è¡¨ç¤ºä¾ã§ã: https://www.redmine.org, someone@foo.bar
- -URLã®ãããã«å¥ã®ããã¹ãã表示ããããå ´åã¯ãé常ã®Markdownè¨æ³ãå©ç¨ã§ãã¾ã:
- --[Redmine web site](https://www.redmine.org) -- -
ä¸è¨è¨è¿°ã®è¡¨ç¤ºä¾ã§ã: Redmine web site
- - -è¦åºãã太åããã¼ãã«ããªã¹ãçã¯ãRedmineã¯Markdownã§ã®è¨è¿°ã«å¯¾å¿ãã¦ãã¾ããMarkdownã®è©³ç´°ã¯ https://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 f54f8a8c9..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/bold.svg", { alt: "太å" }) %> | **太å** | 太å | |||||||||
<%= image_tag("jstoolbar/italic.svg", { alt: "æä½" }) %> | *æä½* | æä½ | |||||||||
<%= image_tag("jstoolbar/strikethrough.svg", { alt: "åãæ¶ãç·" }) %> | ~~åãæ¶ãç·~~ | ||||||||||
<%= image_tag("jstoolbar/letter-c.svg", { alt: "ã³ã¼ã" }) %> | `ã³ã¼ã` | ã³ã¼ã | |||||||||
``` è¤æ°è¡ã® ã³ã¼ã ``` |
-- è¤æ°è¡ã® - ã³ã¼ã -- | ||||||||||
ã³ã¼ããã¤ã©ã¤ã (" target="_blank">詳細 | 対å¿è¨èª) | |||||||||||
<%= image_tag("jstoolbar/code.svg", { alt: "ã³ã¼ããã¤ã©ã¤ã" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
ãªã¹ã | |||||||||||
<%= image_tag("jstoolbar/list.svg", { alt: "ãªã¹ã" }) %> | * é
ç®1 * ä¸ä½é層ã®é ç® * é ç®2 |
| |||||||||
<%= image_tag("jstoolbar/list-numbers.svg", { alt: "é åºä»ããªã¹ã" }) %> | 1. é
ç®1 1. ä¸ä½é層ã®é ç® 2. é ç®2 |
| |||||||||
è¦åºã (" target="_blank">詳細) | |||||||||||
<%= image_tag("jstoolbar/h1.svg", { alt: "Heading 1" }) %> | # ã¿ã¤ãã«1 | ã¿ã¤ãã«1 | |||||||||
<%= image_tag("jstoolbar/h2.svg", { alt: "Heading 2" }) %> | ## ã¿ã¤ãã«2 | ã¿ã¤ãã«2 | |||||||||
<%= image_tag("jstoolbar/h3.svg", { alt: "Heading 3" }) %> | ### ã¿ã¤ãã«3 | ã¿ã¤ãã«3 | |||||||||
ãªã³ã¯ (" target="_blank">詳細) | |||||||||||
http://foo.bar | http://foo.bar | ||||||||||
[Foo](http://foo.bar) | Foo | ||||||||||
Redmineå ã®ãªã³ã¯ (" target="_blank">詳細) | |||||||||||
<%= image_tag("jstoolbar/wiki_link.svg", { 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/image.svg", { alt: "Image" }) %> | ![](ç»åURL) | ||||||||||
![](æ·»ä»ãã¡ã¤ã«å) | |||||||||||
Tables | |||||||||||
- | | A | B | C | |---|---|---| | A | B | C | | D | E | F | |
-
-
|
-
ãã詳細ãªãªãã¡ã¬ã³ã¹
- - - diff --git a/app/views/help/wiki_syntax/markdown/ko/wiki_syntax_detailed_markdown.html.erb b/app/views/help/wiki_syntax/markdown/ko/wiki_syntax_detailed_markdown.html.erb deleted file mode 100644 index 4ea1da594..000000000 --- a/app/views/help/wiki_syntax/markdown/ko/wiki_syntax_detailed_markdown.html.erb +++ /dev/null @@ -1,341 +0,0 @@ - - - -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:
- --https://www.redmine.org, someone@foo.bar -- -
displays: https://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](https://www.redmine.org) -- -
displays: Redmine web site
- - -For things such as headlines, bold, tables, lists, Redmine supports Markdown syntax. See https://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 b27dbbed4..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/bold.svg", { alt: "Strong" }) %> | **Strong** | Strong | |||||||||
<%= image_tag("jstoolbar/italic.svg", { alt: "Italic" }) %> | *Italic* | Italic | |||||||||
<%= image_tag("jstoolbar/underline.svg", { alt: "Underline" }) %> | _Underline_ | Underline | |||||||||
<%= image_tag("jstoolbar/strikethrough.svg", { alt: "Deleted" }) %> | ~~Deleted~~ | ||||||||||
<%= image_tag("jstoolbar/letter-c.svg", { alt: "Inline code" }) %> | `Inline Code` | Inline Code | |||||||||
``` lines of code ``` |
-- lines - of code -- | ||||||||||
Highlighted code (" target="_blank">more | supported languages) | |||||||||||
<%= image_tag("jstoolbar/code.svg", { alt: "ììíí ì½ë" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
Lists | |||||||||||
<%= image_tag("jstoolbar/list.svg", { alt: "Unordered list" }) %> | * Item 1 * Sub * Item 2 |
| |||||||||
<%= image_tag("jstoolbar/list-numbers.svg", { alt: "Ordered list" }) %> | 1. Item 1 1. Sub 2. Item 2 |
| |||||||||
Headings (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/h1.svg", { alt: "Heading 1" }) %> | # Title 1 | Title 1 | |||||||||
<%= image_tag("jstoolbar/h2.svg", { alt: "Heading 2" }) %> | ## Title 2 | Title 2 | |||||||||
<%= image_tag("jstoolbar/h3.svg", { 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/wiki_link.svg", { 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/image.svg", { 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:
- --https://www.redmine.org, someone@foo.bar -- -
displays: https://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](https://www.redmine.org) -- -
displays: Redmine web site
- - -For things such as headlines, bold, tables, lists, Redmine supports Markdown syntax. See https://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 0e2e829a5..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/bold.svg", { alt: "Strong" }) %> | **Strong** | Strong | |||||||||
<%= image_tag("jstoolbar/italic.svg", { alt: "Italic" }) %> | *Italic* | Italic | |||||||||
<%= image_tag("jstoolbar/underline.svg", { alt: "Underline" }) %> | _Underline_ | Underline | |||||||||
<%= image_tag("jstoolbar/strikethrough.svg", { alt: "Deleted" }) %> | ~~Deleted~~ | ||||||||||
<%= image_tag("jstoolbar/letter-c.svg", { alt: "Inline code" }) %> | `Inline Code` | Inline Code | |||||||||
``` lines of code ``` |
-- lines - of code -- | ||||||||||
Highlighted code (" target="_blank">more | supported languages) | |||||||||||
<%= image_tag("jstoolbar/code.svg", { alt: "Gemarkeerde code" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
Lists | |||||||||||
<%= image_tag("jstoolbar/list.svg", { alt: "Unordered list" }) %> | * Item 1 * Sub * Item 2 |
| |||||||||
<%= image_tag("jstoolbar/list-numbers.svg", { alt: "Ordered list" }) %> | 1. Item 1 1. Sub 2. Item 2 |
| |||||||||
Headings (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/h1.svg", { alt: "Heading 1" }) %> | # Title 1 | Title 1 | |||||||||
<%= image_tag("jstoolbar/h2.svg", { alt: "Heading 2" }) %> | ## Title 2 | Title 2 | |||||||||
<%= image_tag("jstoolbar/h3.svg", { 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/wiki_link.svg", { 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/image.svg", { 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:
- --https://www.redmine.org, someone@foo.bar -- -
displays: https://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](https://www.redmine.org) -- -
displays: Redmine web site
- - -For things such as headlines, bold, tables, lists, Redmine supports Markdown syntax. See https://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 62312df82..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/bold.svg", { alt: "Strong" }) %> | **Negrito** | Negrito | |||||||||
<%= image_tag("jstoolbar/italic.svg", { alt: "Italic" }) %> | *Itálico* | Itálico | |||||||||
<%= image_tag("jstoolbar/underline.svg", { alt: "Underline" }) %> | _Sublinhado_ | Sublinhado | |||||||||
<%= image_tag("jstoolbar/strikethrough.svg", { alt: "Deleted" }) %> | ~~Tachado~~ | ||||||||||
<%= image_tag("jstoolbar/letter-c.svg", { alt: "Inline code" }) %> | `Código Inline` | Código Inline | |||||||||
``` linhas de código ``` |
-- linhas - de código -- | ||||||||||
Highlighted code (" target="_blank">more | supported languages) | |||||||||||
<%= image_tag("jstoolbar/code.svg", { alt: "Highlighted code" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
Listas | |||||||||||
<%= image_tag("jstoolbar/list.svg", { alt: "Unordered list" }) %> | * Item 1 * Sub * Item 2 |
| |||||||||
<%= image_tag("jstoolbar/list-numbers.svg", { alt: "Ordered list" }) %> | 1. Item 1 1. Sub 2. Item 2 |
| |||||||||
Cabeçalhos (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/h1.svg", { alt: "Heading 1" }) %> | # Título 1 | Título 1 | |||||||||
<%= image_tag("jstoolbar/h2.svg", { alt: "Heading 2" }) %> | ## Título 2 | Título 2 | |||||||||
<%= image_tag("jstoolbar/h3.svg", { 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/wiki_link.svg", { 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/image.svg", { 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) மினà¯à®©à®à¯à®à®²à¯ à®®à¯à®à®µà®°à®¿à®à®³à¯ தானா஠à®à®¿à®³à®¿à®à¯ à®à¯à®¯à¯à®¯à®à¯à®à¯à®à®¿à®¯ à®à®£à¯à®ªà¯à®ªà¯à®à®³à®¾à® மாறà¯à®±à®ªà¯à®ªà®à¯à®®à¯:
- --https://www.redmine.org, someone@foo.bar -- -
à®à®¾à®à¯à®à®¿à®à®³à¯: https://www.redmine.org, someone@foo.bar
- -URL à®à¯à®à¯ பதிலா஠à®à®°à¯ à®à¯à®±à®¿à®ªà¯à®ªà®¿à®à¯à® à®à®°à¯à®¯à¯à®à¯ à®à®¾à®à¯à® விரà¯à®®à¯à®ªà®¿à®©à®¾à®²à¯, நà¯à®à¯à®à®³à¯ நிலà¯à®¯à®¾à®© மாரà¯à®à¯ à®à®µà¯à®©à¯ தà¯à®à®°à®¿à®¯à®²à¯ பயனà¯à®ªà®à¯à®¤à¯à®¤à®²à®¾à®®à¯:
- --[Redmine web site](https://www.redmine.org) -- -
à®à®¾à®à¯à®à®¿à®à®³à¯: à®°à¯à®à¯à®®à¯à®©à¯ வலà¯à®¤à¯à®¤à®³à®®à¯
- - -தலà¯à®ªà¯à®ªà¯à®à¯ à®à¯à®¯à¯à®¤à®¿à®à®³à¯, தà®à®¿à®¤à¯à®¤, à® à®à¯à®à®µà®£à¯à®à®³à¯, பà®à¯à®à®¿à®¯à®²à¯à®à®³à¯ பà¯à®©à¯à®± விஷயà®à¯à®à®³à¯à®à¯à®à¯, à®°à¯à®à¯à®®à¯à®©à¯ மாரà¯à®à¯ à®à®µà¯à®©à¯ தà¯à®à®°à®¿à®¯à®²à¯ à®à®¤à®°à®¿à®à¯à®à®¿à®±à®¤à¯. See https://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 0f45b18e7..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/bold.svg", { alt: "Strong" }) %> | **வலà¯à®µà®¾à®©** | வலà¯à®µà®¾à®© | |||||||||
<%= image_tag("jstoolbar/italic.svg", { alt: "Italic" }) %> | *à®à®¾à®¯à¯à®µà¯* | à®à®¾à®¯à¯à®µà¯ | |||||||||
<%= image_tag("jstoolbar/underline.svg", { alt: "Underline" }) %> | _à® à®à®¿à®à¯à®à¯à®à®¿à®à¯à®à¯_ | à® à®à®¿à®à¯à®à¯à®à®¿à®à¯à®à¯ | |||||||||
<%= image_tag("jstoolbar/strikethrough.svg", { alt: "Deleted" }) %> | ~~நà¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯~~ | ||||||||||
<%= image_tag("jstoolbar/letter-c.svg", { alt: "Inline code" }) %> | `à®à®©à¯à®²à¯à®©à¯ à®à¯à®±à®¿à®¯à¯à®à¯` | à®à®©à¯à®²à¯à®©à¯ à®à¯à®±à®¿à®¯à¯à®à¯ | |||||||||
``` à®à¯à®¾à®à¯à®à®³à¯ à®à¯à®±à®¿à®¯à¯à®à¯ ``` |
-- à®à¯à®¾à®à¯à®à®³à¯ - à®à¯à®±à®¿à®¯à¯à®à¯ -- | ||||||||||
à®à®¿à®±à®ªà¯à®ªà®®à¯à®à®®à®¾à® à®à¯à®±à®¿à®¯à¯à®à¯ (" target="_blank">à®®à¯à®²à¯à®®à¯ | supported languages) | |||||||||||
<%= image_tag("jstoolbar/code.svg", { alt: "Highlighted code" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
பà®à¯à®à®¿à®¯à®²à¯à®à®³à¯ | |||||||||||
<%= image_tag("jstoolbar/list.svg", { alt: "Unordered list" }) %> | * பà¯à®°à¯à®³à¯ 1 * தà¯à®£à¯ * பà¯à®°à¯à®³à¯ 2 |
| |||||||||
<%= image_tag("jstoolbar/list-numbers.svg", { alt: "Ordered list" }) %> | 1. பà¯à®°à¯à®³à¯ 1 1. தà¯à®£à¯ 2. பà¯à®°à¯à®³à¯ 2 |
| |||||||||
தலà¯à®ªà¯à®ªà¯à®à®³à¯(" target="_blank">à®®à¯à®²à¯à®®à¯) | |||||||||||
<%= image_tag("jstoolbar/h1.svg", { alt: "Heading 1" }) %> | # தலà¯à®ªà¯à®ªà¯ 1 | தலà¯à®ªà¯à®ªà¯ 1 | |||||||||
<%= image_tag("jstoolbar/h2.svg", { alt: "Heading 2" }) %> | ## தலà¯à®ªà¯à®ªà¯ 2 | தலà¯à®ªà¯à®ªà¯ 2 | |||||||||
<%= image_tag("jstoolbar/h3.svg", { alt: "Heading 3" }) %> | ### தலà¯à®ªà¯à®ªà¯ 3 | தலà¯à®ªà¯à®ªà¯ 3 | |||||||||
à®à®£à¯à®ªà¯à®ªà¯à®à®³à¯ (" target="_blank">à®®à¯à®²à¯à®®à¯) | |||||||||||
http://foo.bar | http://foo.bar | ||||||||||
[Foo](http://foo.bar) | Foo | ||||||||||
Redmine à®à®£à¯à®ªà¯à®ªà¯à®à®³à¯ (" target="_blank">à®®à¯à®²à¯à®®à¯) | |||||||||||
<%= image_tag("jstoolbar/wiki_link.svg", { 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/image.svg", { alt: "Image" }) %> | ![](பà®à®®à¯_url) | ||||||||||
![](à®à®£à¯à®à¯à®à®ªà¯à®ªà®à¯à®_பà®à®®à¯) | |||||||||||
à® à®à¯à®à®µà®£à¯ | |||||||||||
- | | A | B | C | |---|---|---| | A | B | C | | D | E | F | |
-
-
|
-
à®®à¯à®²à¯à®®à¯ தà®à®µà®²à¯
- - - diff --git a/app/views/help/wiki_syntax/markdown/uk/wiki_syntax_detailed_markdown.html.erb b/app/views/help/wiki_syntax/markdown/uk/wiki_syntax_detailed_markdown.html.erb deleted file mode 100644 index 7ea412eea..000000000 --- a/app/views/help/wiki_syntax/markdown/uk/wiki_syntax_detailed_markdown.html.erb +++ /dev/null @@ -1,339 +0,0 @@ - - - -Redmine дозволÑÑ Ð³ÑпеÑпоÑÐ¸Ð»Ð°Ð½Ð½Ñ Ð¼Ñж ÑеÑÑÑÑами (завданнÑми, змÑнами, вÑкÑ-ÑÑоÑÑнками ...) з бÑдÑ-Ñкого мÑÑÑÑ, де викоÑиÑÑовÑÑÑÑÑÑ Ð²ÑкÑ-ÑоÑмаÑÑваннÑ.
-ÐÑÐºÑ Ð¿Ð¾ÑиланнÑ:
- -Ðи Ñакож можеÑе поÑилаÑиÑÑ Ð½Ð° ÑÑоÑÑнки з вÑÐºÑ ÑнÑого пÑоекÑÑ:
- -ÐÑÐºÑ Ð¿Ð¾ÑÐ¸Ð»Ð°Ð½Ð½Ñ Ð²ÑдобÑажаÑÑÑÑÑ ÑеÑвоним колÑоÑом, ÑкÑо ÑÑоÑÑнка Ñе не ÑÑнÑÑ: ÐеÑÑнÑÑÑа ÑÑоÑÑнка.
- -ÐоÑÐ¸Ð»Ð°Ð½Ð½Ñ Ð½Ð° ÑнÑÑ ÑеÑÑÑÑи:
- -ÐапобÑÐ³Ð°Ð½Ð½Ñ Ð¿ÐµÑеÑвоÑеннÑ(escaping):
- -URLs (starting with: www, http, https, ftp, ftps, sftp and sftps) and email addresses are automatically turned into clickable links:
- --https://www.redmine.org, someone@foo.bar -- -
вÑдобÑажаÑÑÑÑÑ Ñк: https://www.redmine.org, someone@foo.bar
- -ЯкÑо ви Ñ Ð¾ÑеÑе, вÑдобÑазиÑи ÑекÑÑ Ð·Ð°Ð¼ÑÑÑÑ URL, ви можеÑе викоÑиÑÑовÑваÑи ÑÑандаÑÑний markdown ÑинÑакÑиÑ:
- --[Redmine web site](https://www.redmine.org) -- -
вÑдобÑажаÑÑÑÑÑ Ñк: Redmine web site
- - -ÐÐ»Ñ ÑÐ°ÐºÐ¸Ñ ÑеÑей Ñк: заголовки, жиÑний ÑекÑÑ, ÑаблиÑÑ, ÑпиÑки, Redmine пÑдÑÑимÑÑ Markdown ÑинÑакÑиÑ. ÐеÑеглÑнÑÑе https://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 acfabdc9d..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/bold.svg", { alt: "ÐиÑний" }) %> | **ÐиÑний** | ÐиÑний | |||||||||
<%= image_tag("jstoolbar/italic.svg", { alt: "ÐÑÑÑив" }) %> | *ÐÑÑÑив* | ÐÑÑÑив | |||||||||
<%= image_tag("jstoolbar/strikethrough.svg", { alt: "ÐакÑеÑлений" }) %> | ~~ÐакÑеÑлений~~ | ||||||||||
<%= image_tag("jstoolbar/letter-c.svg", { alt: "Ðнлайн код" }) %> | `Ðнлайн код` | Ðнлайн код | |||||||||
``` ÐопеÑеднÑо вÑдÑоÑмаÑований ÑекÑÑ ``` |
-- ÐопеÑеднÑо - вÑдÑоÑмаÑований - ÑекÑÑ -- | ||||||||||
идÑлений код (" target="_blank">more | supported languages) | |||||||||||
<%= image_tag("jstoolbar/code.svg", { alt: "ÐидÑлений код" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
СпиÑки | |||||||||||
<%= image_tag("jstoolbar/list.svg", { alt: "ÐенÑмеÑованний ÑпиÑок" }) %> | * ÐÑÐ½ÐºÑ * ÐÑдпÑÐ½ÐºÑ * ÐÑÐ½ÐºÑ |
| |||||||||
<%= image_tag("jstoolbar/list-numbers.svg", { alt: "ÐÑмеÑований ÑпиÑок" }) %> | 1. ÐÑÐ½ÐºÑ 1. ÐÑдпÑÐ½ÐºÑ 2. ÐÑÐ½ÐºÑ |
| |||||||||
Ðаголовоки (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/h1.svg", { alt: "Ðаголовок 1" }) %> | # Ðаголовок 1 | Ðаголовок 1 | |||||||||
<%= image_tag("jstoolbar/h2.svg", { alt: "Ðаголовок 2" }) %> | ## Ðаголовок 2 | Ðаголовок 2 | |||||||||
<%= image_tag("jstoolbar/h3.svg", { 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/wiki_link.svg", { 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/image.svg", { alt: "Image" }) %> | ![](image_url) | ||||||||||
![](attached_image) | |||||||||||
ТаблиÑÑ | |||||||||||
- | | A | B | C | |---|---|---| | A | B | C | | D | E | F | |
-
-
|
-
ÐеÑалÑнÑÑа ÑнÑоÑмаÑÑÑ
- - - diff --git a/app/views/help/wiki_syntax/markdown/zh-tw/wiki_syntax_detailed_markdown.html.erb b/app/views/help/wiki_syntax/markdown/zh-tw/wiki_syntax_detailed_markdown.html.erb deleted file mode 100644 index d53b9a0ed..000000000 --- a/app/views/help/wiki_syntax/markdown/zh-tw/wiki_syntax_detailed_markdown.html.erb +++ /dev/null @@ -1,339 +0,0 @@ - - - -å¨ä»»ä½å¯ä»¥ä½¿ç¨ 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:
- --https://www.redmine.org, someone@foo.bar -- -
æ顯示æï¼ https://www.redmine.org, someone@foo.bar
- -è¥æ¨æ³è¦é¡¯ç¤ºæå®çæåèé該 URL ï¼æ¨å¯ä»¥ä½¿ç¨ä¸åæ¨æºç markdown èªæ³:
- --[Redmine web site](https://www.redmine.org) -- -
æ顯示æï¼ Redmine web site
- - -å°æ¼è«¸å¦æ¨é¡ãç²é«ãè¡¨æ ¼ãæ¸ å®çé ç®ï¼ Redmine æ¯æ´ä½¿ç¨ Markdown èªæ³ã å¯åè https://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 fe5793cb1..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/bold.svg", { alt: "強調ç²é«" }) %> | **強調ç²é«** | 強調ç²é« | |||||||||
<%= image_tag("jstoolbar/italic.svg", { alt: "æé«" }) %> | *æé«* | æé« | |||||||||
<%= image_tag("jstoolbar/strikethrough.svg", { alt: "åªé¤ç·" }) %> | ~~åªé¤ç·~~ | ||||||||||
<%= image_tag("jstoolbar/letter-c.svg", { alt: "å §åµç¨å¼ç¢¼" }) %> | `å §åµç¨å¼ç¢¼` | å
§åµç¨å¼ç¢¼ | |||||||||
``` æ ¼å¼å ç段è½æå ``` |
-- æ ¼å¼å - ç段è½æå -- | ||||||||||
åç½ç¨å¼ç¢¼ (" target="_blank">more | supported languages) | |||||||||||
<%= image_tag("jstoolbar/code.svg", { alt: "åç½ç¨å¼ç¢¼" }) %> | ``` ruby 3.times do puts 'Hello' end ``` |
-
- | |||||||||
æ¸ å® | |||||||||||
<%= image_tag("jstoolbar/list.svg", { alt: "ä¸æåºæ¸ å®" }) %> | * æ¸
å®é
ç® 1 * åæ¸ å®é ç® * æ¸ å®é ç® 2 |
| |||||||||
<%= image_tag("jstoolbar/list-numbers.svg", { alt: "æåºæ¸ å®" }) %> | 1. æ¸
å®é
ç® 1 1. åæ¸ å®é ç® 2. æ¸ å®é ç® 2 |
| |||||||||
æ¨é¡ (" target="_blank">more) | |||||||||||
<%= image_tag("jstoolbar/h1.svg", { alt: "æ¨é¡ 1" }) %> | # æ¨é¡ 1 | æ¨é¡ 1 | |||||||||
<%= image_tag("jstoolbar/h2.svg", { alt: "æ¨é¡ 2" }) %> | ## æ¨é¡ 2 | æ¨é¡ 2 | |||||||||
<%= image_tag("jstoolbar/h3.svg", { 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/wiki_link.svg", { 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/image.svg", { 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 6bf8911af..a2c4ac82f 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 |