From 72595c6acdbbc4c8a58c0783aed3d58852583ede Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Sun, 30 Sep 2018 02:45:16 +0000 Subject: Updated the "Code highlighting" section in wiki help as the syntax highlighter was replaced with Rouge (#24681). git-svn-id: http://svn.redmine.org/redmine/trunk@17536 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- public/help/sk/wiki_syntax_detailed_markdown.html | 24 +++++++++++------------ public/help/sk/wiki_syntax_detailed_textile.html | 24 +++++++++++------------ 2 files changed, 24 insertions(+), 24 deletions(-) (limited to 'public/help/sk') diff --git a/public/help/sk/wiki_syntax_detailed_markdown.html b/public/help/sk/wiki_syntax_detailed_markdown.html index a59fb90d7..9db01b843 100644 --- a/public/help/sk/wiki_syntax_detailed_markdown.html +++ b/public/help/sk/wiki_syntax_detailed_markdown.html @@ -285,7 +285,7 @@ It can be expanded by clicking a link.

Code highlighting

-

Default code highlightment relies on CodeRay, a fast syntax highlighting library written completely in Ruby. It currently supports c, clojure, cpp (c++, cplusplus), css, delphi (pascal), diff (patch), erb (eruby, rhtml), go, groovy, haml, html (xhtml), java, javascript (ecmascript, ecma_script, java_script, js), json, lua, php, python, ruby (irb), sass, sql, taskpaper, text (plain, plaintext), xml and yaml (yml) languages, where the names inside parentheses are aliases.

+

Default code highlightment relies on Rouge, a syntax highlighting library written in pure Ruby. 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 https://github.com/jneen/rouge/wiki/List-of-supported-languages-and-lexers for the full list of supported languages.

You can highlight code at any place that supports wiki formatting using this syntax (note that the language name or alias is case-insensitive):

@@ -297,16 +297,16 @@ It can be expanded by clicking a link.

Example:

-
# The Greeter class
-class Greeter
-  def initialize(name)
-    @name = name.capitalize
-  end
-
-  def salute
-    puts "Hello #{@name}!"
-  end
-end
-
+
# The Greeter class
+class Greeter
+  def initialize(name)
+    @name = name.capitalize
+  end
+
+  def salute
+    puts "Hello #{@name}!"
+  end
+end
+
diff --git a/public/help/sk/wiki_syntax_detailed_textile.html b/public/help/sk/wiki_syntax_detailed_textile.html index 69817c489..bfcd49a5a 100644 --- a/public/help/sk/wiki_syntax_detailed_textile.html +++ b/public/help/sk/wiki_syntax_detailed_textile.html @@ -287,7 +287,7 @@ It can be expanded by clicking a link.

Code highlighting

-

Default code highlightment relies on CodeRay, a fast syntax highlighting library written completely in Ruby. It currently supports c, clojure, cpp (c++, cplusplus), css, delphi (pascal), diff (patch), erb (eruby, rhtml), go, groovy, haml, html (xhtml), java, javascript (ecmascript, ecma_script, java_script, js), json, lua, php, python, ruby (irb), sass, sql, taskpaper, text (plain, plaintext), xml and yaml (yml) languages, where the names inside parentheses are aliases.

+

Default code highlightment relies on Rouge, a syntax highlighting library written in pure Ruby. 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 https://github.com/jneen/rouge/wiki/List-of-supported-languages-and-lexers for the full list of supported languages.

You can highlight code at any place that supports wiki formatting using this syntax (note that the language name or alias is case-insensitive):

@@ -299,16 +299,16 @@ It can be expanded by clicking a link.

Example:

-
# The Greeter class
-class Greeter
-  def initialize(name)
-    @name = name.capitalize
-  end
-
-  def salute
-    puts "Hello #{@name}!"
-  end
-end
-
+
# The Greeter class
+class Greeter
+  def initialize(name)
+    @name = name.capitalize
+  end
+
+  def salute
+    puts "Hello #{@name}!"
+  end
+end
+
-- cgit v1.2.3