From 0554143d7e6fcea4fd7927f16948ee284f594ff9 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 14 Aug 2015 02:38:25 +0000 Subject: [#20288] Make clear that syntax highlighting cannot only be used in wiki pages. Regarding the i18n: I used English as the base language. The changed sentence was the same in 93 out of 98 language files, public\help\xx[-xx]\wiki_syntax_detailed_[markdown||textile].html. The only five exceptions were: * cs; public\help\cs\wiki_syntax_detailed_textile.html * fr; public\help\fr\wiki_syntax_detailed_textile.html * ja; public\help\ja\wiki_syntax_detailed_textile.html * ru; public\help\ru\qiki_syntax_detailed_textile.html * zh-tw; public\help\zh-tw\wiki_syntax_detailed_textile.html In the above given files, the changed sentence is translated. I have replaced the whole translated sentence with the new English base sentence, as such leaving new translations up to translators. Contributed by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@14491 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- public/help/ca/wiki_syntax_detailed_textile.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/help/ca/wiki_syntax_detailed_textile.html') diff --git a/public/help/ca/wiki_syntax_detailed_textile.html b/public/help/ca/wiki_syntax_detailed_textile.html index 44d82db77..46f8c2ce9 100644 --- a/public/help/ca/wiki_syntax_detailed_textile.html +++ b/public/help/ca/wiki_syntax_detailed_textile.html @@ -308,7 +308,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.

-

You can highlight code in your wiki page using this syntax (note that the language name or alias is case-insensitive):

+

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

 <pre><code class="ruby">
-- 
cgit v1.2.3