diff --git a/public/help/ar/wiki_syntax_detailed_markdown.html b/public/help/ar/wiki_syntax_detailed_markdown.html index a59fb90d7..9db01b843 100644 --- a/public/help/ar/wiki_syntax_detailed_markdown.html +++ b/public/help/ar/wiki_syntax_detailed_markdown.html @@ -285,7 +285,7 @@ It can be expanded by clicking a link.
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
+# The Greeter class
+class Greeter
+ def initialize(name)
+ @name = name.capitalize
+ end
- def salute
- puts "Hello #{@name}!"
- end
-end
-
+ def salute
+ puts "Hello #{@name}!"
+ end
+end
+