From: Marius Balteanu Date: Sun, 25 Feb 2024 21:41:14 +0000 (+0000) Subject: Adds route for code highlighting languages page (#39111, #40137). X-Git-Tag: 6.0.0~398 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=eef8f625c831ae33ffeb9ec80fe2e3d68f6edae8;p=redmine.git Adds route for code highlighting languages page (#39111, #40137). git-svn-id: https://svn.redmine.org/redmine/trunk@22732 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/controllers/help_controller.rb b/app/controllers/help_controller.rb index 552dd988f..da7fa2106 100644 --- a/app/controllers/help_controller.rb +++ b/app/controllers/help_controller.rb @@ -28,4 +28,8 @@ class HelpController < ApplicationController end render template: "help/wiki_syntax/#{Setting.text_formatting}/#{lang}/wiki_syntax_#{type}#{Setting.text_formatting}", :layout => nil end + + def show_code_highlighting + render template: "help/wiki_syntax/code_highlighting_languages", :layout => nil + end end diff --git a/app/views/help/code_highlighting_languages.html b/app/views/help/code_highlighting_languages.html deleted file mode 100644 index a98a9829c..000000000 --- a/app/views/help/code_highlighting_languages.html +++ /dev/null @@ -1,899 +0,0 @@ - - - List of languages supported by Redmine code highlighter - - - - - -

List of languages supported by Redmine code highlighter

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
LanguageDescription
abapSAP - Advanced Business Application Programming
actionscriptActionScript [aliases: as,as3]
adaThe Ada 2012 programming language
apacheconfiguration files for Apache web server
apexThe Apex programming language (provided by salesforce)
apiblueprintMarkdown based API description language. [aliases: apiblueprint,apib]
applescriptThe AppleScript scripting language by Apple Inc. (https://developer.apple.com/library/archive/documentation/AppleScript/Conceptual/AppleScriptLangGuide/introduction/ASLR_intro.html) [aliases: applescript]
armasmArm assembly syntax
augeasThe Augeas programming language (augeas.net) [aliases: aug]
awkpattern-directed scanning and processing language
batchfileWindows Batch File [aliases: bat,batch,dosbatch,winbatch]
bbcbasicBBC BASIC syntax
bibtexBibTeX [aliases: bib]
bimlBIML, Business Intelligence Markup Language
bpfBPF bytecode syntax
brainfuckThe Brainfuck programming language
brightscriptBrightScript Programming Language (https://developer.roku.com/en-ca/docs/references/brightscript/language/brightscript-language-reference.md) [aliases: bs,brs]
bslThe 1C:Enterprise programming language
cThe C programming language
ceylonSay more, more clearly.
cfscriptCFScript, the CFML scripting language [aliases: cfc]
cisco_iosCisco IOS configuration lexer
cleanThe Clean programming language (clean.cs.ru.nl)
clojureThe Clojure programming language (clojure.org) [aliases: clj,cljs]
cmakeThe cross-platform, open-source build system
cmhgRISC OS C module header generator source file
codeownersCode Owners syntax (https://docs.gitlab.com/ee/user/project/codeowners/reference.html)
coffeescriptThe Coffeescript programming language (coffeescript.org) [aliases: coffee,coffee-script]
common_lispThe Common Lisp variant of Lisp (common-lisp.net) [aliases: cl,common-lisp,elisp,emacs-lisp,lisp]
confA generic lexer for configuration files [aliases: config,configuration]
consoleA generic lexer for shell sessions. Accepts ?lang and ?output lexer options, a ?prompt option, ?comments to enable # comments, and ?error to handle error messages. [aliases: terminal,shell_session,shell-session]
coqCoq (coq.inria.fr)
cppThe C++ programming language [aliases: c++]
crystalCrystal The Programming Language (crystal-lang.org) [aliases: cr]
csharpa multi-paradigm language targeting .NET [aliases: c#,cs]
cssCascading Style Sheets, used to style web pages
csvsThe CSV Schema Language (digital-preservation.github.io)
cudaCompute Unified Device Architecture, used for programming with NVIDIA GPU
cypherThe Cypher query language (neo4j.com/docs/cypher-manual) [aliases: cypher]
cythonCython and Pyrex source code (cython.org) [aliases: pyx,pyrex]
dThe D programming language(dlang.org) [aliases: dlang]
dafnyThe Dafny programming language (github.com/dafny-lang/dafny)
dartThe Dart programming language (dart.dev)
datastudioDatastudio scripting language
diffLexes unified diffs or patches [aliases: patch,udiff]
digdagA simple, open source, multi-cloud workflow engine (https://www.digdag.io/)
dockerDockerfile syntax [aliases: dockerfile,Dockerfile]
dotgraph description language [aliases: graphviz]
eclEnterprise Control Language (hpccsystems.com)
eexEmbedded Elixir [aliases: leex,heex]
eiffelEiffel programming language
elixirElixir language (elixir-lang.org) [aliases: elixir,exs]
elmThe Elm programming language (http://elm-lang.org/)
emailAn email message [aliases: eml,e-mail]
eppEmbedded Puppet template files
erbEmbedded ruby template files [aliases: eruby,rhtml]
erlangThe Erlang programming language (erlang.org) [aliases: erl]
escapeA generic lexer for including escaped content - see Formatter.enable_escape! [aliases: esc]
factorFactor, the practical stack language (factorcode.org)
fluentFluent localization files [aliases: ftl]
fortranFortran 2008 (free-form)
freefemThe FreeFEM programming language (freefem.org) [aliases: ff]
fsharpF# (fsharp.net)
gdscriptThe Godot Engine programming language (https://godotengine.org/) [aliases: gd,gdscript]
ghc-cmmGHC Cmm is the intermediate representation of the GHC Haskell compiler [aliases: cmm]
ghc-coreIntermediate representation of the GHC Haskell compiler.
gherkinA business-readable spec DSL (github.com/cucumber/cucumber/wiki/Gherkin) [aliases: cucumber,behat]
glslThe GLSL shader language
goThe Go programming language (http://golang.org) [aliases: go,golang]
gradleA powerful build system for the JVM
graphqlGraphQL
groovyThe Groovy programming language (http://www.groovy-lang.org/)
hackThe Hack programming language (hacklang.org) [aliases: hack,hh]
hamlThe Haml templating system for Ruby (haml.info) [aliases: HAML]
handlebarsthe Handlebars and Mustache templating languages [aliases: hbs,mustache]
haskellThe Haskell programming language (haskell.org) [aliases: hs]
haxeHaxe Cross-platform Toolkit (http://haxe.org) [aliases: hx,haxe]
hclHashicorp Configuration Language, used by Terraform and other Hashicorp tools
hlslHLSL, the High Level Shading Language for DirectX (docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl)
hoconHuman-Optimized Config Object Notation (https://github.com/lightbend/config)
hqlHive Query Language SQL dialect
htmlHTML, the markup language of the web
httphttp requests and responses
hylangThe HyLang programming language (hylang.org) [aliases: hy]
idlangInteractive Data Language
idrisThe Idris programming language (idris-lang.org) [aliases: idr]
igorproWaveMetrics Igor Pro
inithe INI configuration format
ioThe IO programming language (http://iolanguage.com)
irbShell sessions in IRB or Pry [aliases: pry]
irb_output
isabelleIsabelle theories (isabelle.in.tum.de) [aliases: isa,Isabelle]
isblThe ISBL programming language
jThe J programming language (jsoftware.com)
janetThe Janet programming language (janet-lang.org) [aliases: jdn]
javaThe Java programming language (java.com)
javascriptJavaScript, the browser scripting language [aliases: js]
jinjaDjango/Jinja template engine (jinja.pocoo.org) [aliases: django]
jslThe JMP Scripting Language (JSL) (jmp.com)
jsonJavaScript Object Notation (json.org)
json-docJavaScript Object Notation with extensions for documentation [aliases: jsonc]
jsonnetAn elegant, formally-specified config language for JSON
jspJSP
jsxAn XML-like syntax extension to JavaScript (facebook.github.io/jsx/) [aliases: jsx,react]
juliaThe Julia programming language [aliases: jl]
kotlinKotlin Programming Language (http://kotlinlang.org)
lassoThe Lasso programming language (lassosoft.com) [aliases: lassoscript]
leanThe Lean programming language (leanprover.github.io) [aliases: lean]
liquidLiquid is a templating engine for Ruby (liquidmarkup.org)
literate_coffeescriptLiterate coffeescript [aliases: litcoffee]
literate_haskellLiterate haskell [aliases: lithaskell,lhaskell,lhs]
livescriptLiveScript, a language which compiles to JavaScript (livescript.net) [aliases: ls]
llvmThe LLVM Compiler Infrastructure (http://llvm.org/)
luaLua (http://www.lua.org)
lustreThe Lustre programming language (Verimag)
lutinThe Lutin programming language (Verimag)
m68kMotorola 68k Assembler
magikSmallworld Magik
makeMakefile syntax [aliases: makefile,mf,gnumake,bsdmake]
markdownMarkdown, a light-weight markup language for authors [aliases: md,mkd]
masonThe HTML::Mason framework (https://metacpan.org/pod/HTML::Mason)
mathematicaWolfram Mathematica, the world's definitive system for modern technical computing. [aliases: wl]
matlabMatlab [aliases: m]
mesonMeson's specification language (mesonbuild.com)
minizincMiniZinc is a free and open-source constraint modeling language (minizinc.org)
moonscriptMoonscript (http://www.moonscript.org) [aliases: moon]
moselAn optimization language used by Fico's Xpress.
msgtransRISC OS message translator messages file
mxmlMXML
nasmNetwide Assembler
nesasmNesasm3 assembly (6502 asm) [aliases: nes]
nginxconfiguration files for the nginx web server (nginx.org)
nialThe Nial programming language (nial-array-language.org)
nimThe Nim programming language (http://nim-lang.org/) [aliases: nimrod]
nixThe Nix expression language (https://nixos.org/nix/manual/#ch-expression-language) [aliases: nixos]
objective_can extension of C commonly used to write Apple software [aliases: objc,obj-c,obj_c,objectivec]
objective_cppan extension of C++ uncommonly used to write Apple software [aliases: objcpp,obj-cpp,obj_cpp,objectivecpp,objc++,obj-c++,obj_c++,objectivec++]
ocamlObjective Caml (ocaml.org)
oclOMG Object Constraint Language (omg.org/spec/OCL) [aliases: OCL]
openedgeThe OpenEdge ABL programming language [aliases: abl]
opentype_feature_fileFeature specifications for an OpenType font (adobe-type-tools.github.io/afdko) [aliases: fea,opentype,opentypefeature]
pascala procedural programming language commonly used as a teaching language.
perlThe Perl scripting language (perl.org) [aliases: pl]
phpThe PHP scripting language (php.net) [aliases: php,php3,php4,php5]
plaintextA boring lexer that doesn't highlight anything [aliases: text]
plistplist [aliases: plist]
plsqlProcedural Language Structured Query Language for Oracle relational database
pony
postscriptThe PostScript language (adobe.com/devnet/postscript.html) [aliases: postscr,postscript,ps,eps]
powershellpowershell [aliases: posh,microsoftshell,msshell]
praatThe Praat scripting language (praat.org)
prologThe Prolog programming language (http://en.wikipedia.org/wiki/Prolog) [aliases: prolog]
prometheusprometheus [aliases: prometheus]
properties.properties config files for Java
protobufGoogle's language-neutral, platform-neutral, extensible mechanism for serializing structured data [aliases: proto]
puppetThe Puppet configuration management language (puppetlabs.org) [aliases: pp]
pythonThe Python programming language (python.org) [aliases: py]
qThe Q programming language (kx.com) [aliases: kdb+]
qmlQML, a UI markup language [aliases: qml]
rThe R statistics language (r-project.org) [aliases: r,R,s,S]
racketRacket is a Lisp descended from Scheme (racket-lang.org)
reasonmlNew syntax on top of OCaml ecosystem (reasonml.github.io)
regoThe Rego open-policy-agent (OPA) policy language (openpolicyagent.org)
rescriptThe ReScript programming language (rescript-lang.org)
rmlA system agnostic domain-specific language for runtime monitoring and verification (https://rmlatdibris.github.io/)
robot_frameworkRobot Framework is a generic open source automation testing framework (robotframework.org) [aliases: robot,robot-framework]
rubyThe Ruby programming language (ruby-lang.org) [aliases: rb]
rustThe Rust programming language (rust-lang.org) [aliases: rs,rust,no_run,rs,no_run,rust,ignore,rs,ignore,rust,should_panic,rs,should_panic]
sasSAS (Statistical Analysis Software)
sassThe Sass stylesheet language language (sass-lang.com)
scalaThe Scala programming language (scala-lang.org) [aliases: scala]
schemeThe Scheme variant of Lisp
scssSCSS stylesheets (sass-lang.com)
sedsed, the ultimate stream editor
shellVarious shell languages, including sh and bash [aliases: bash,zsh,ksh,sh]
sievemail filtering language
sliceSpecification Language for Ice (doc.zeroc.com)
slimThe Slim template language
smalltalkThe Smalltalk programming language [aliases: st,squeak]
smartySmarty Template Engine [aliases: smarty]
smlStandard ML [aliases: ml]
sparqlSemantic Query Language, for RDF data
sqfStatus Quo Function, a Real Virtuality engine scripting language
sqlStructured Query Language, for relational databases
sshA lexer for SSH configuration files
stanStan Modeling Language (mc-stan.org)
stataThe Stata programming language (www.stata.com)
supercolliderA cross-platform interpreted programming language for sound synthesis, algorithmic composition, and realtime performance
svelteSvelte single-file components (https://svelte.dev/)
swiftMulti paradigm, compiled programming language developed by Apple for iOS and OS X development. (developer.apple.com/swift)
systemdA lexer for systemd unit files [aliases: unit-file]
syzlangSyscall description language used by syzkaller
syzprogProgram description language used by syzkaller
tapTest Anything Protocol [aliases: tap]
tclThe Tool Command Language (tcl.tk)
terraformTerraform HCL Interpolations [aliases: tf]
texThe TeX typesetting system [aliases: TeX,LaTeX,latex]
tomlthe TOML configuration format (https://github.com/toml-lang/toml)
tsxTypeScript-compatible JSX (www.typescriptlang.org/docs/handbook/jsx.html)
ttcn3The TTCN3 programming language (ttcn-3.org)
tulipthe tulip programming language (twitter.com/tuliplang) [aliases: tulip]
turtleTerse RDF Triple Language, TriG
twigTwig template engine (twig.sensiolabs.org)
typescriptTypeScript, a superset of JavaScript (https://www.typescriptlang.org/) [aliases: ts]
valaA programming language similar to csharp.
vbVisual Basic [aliases: visualbasic]
vclThe configuration language for Varnish HTTP Cache (varnish-cache.org) [aliases: varnishconf,varnish]
velocityVelocity is a Java-based template engine (velocity.apache.org)
verilogThe System Verilog hardware description language
vhdlVery High Speed Integrated Circuit Hardware Description Language
vimlVimL, the scripting language for the Vim editor (vim.org) [aliases: vim,vimscript,ex]
vueVue.js single-file components [aliases: vuejs]
wollokWollok lang
xml<desc for="this-lexer">XML</desc>
xojoXojo [aliases: realbasic]
xpathXML Path Language (XPath) 3.1
xqueryXQuery 3.1: An XML Query Language
yamlYaml Ain't Markup Language (yaml.org) [aliases: yml]
yangLexer for the YANG 1.1 modeling language (RFC7950)
zigThe Zig programming language (ziglang.org) [aliases: zir]
- - diff --git a/app/views/help/wiki_syntax/code_highlighting_languages.html.erb b/app/views/help/wiki_syntax/code_highlighting_languages.html.erb new file mode 100644 index 000000000..57ae45888 --- /dev/null +++ b/app/views/help/wiki_syntax/code_highlighting_languages.html.erb @@ -0,0 +1,899 @@ + + + List of languages supported by Redmine code highlighter + + <%= stylesheet_link_tag "wiki_syntax.css" %> + + + +

List of languages supported by Redmine code highlighter

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
LanguageDescription
abapSAP - Advanced Business Application Programming
actionscriptActionScript [aliases: as,as3]
adaThe Ada 2012 programming language
apacheconfiguration files for Apache web server
apexThe Apex programming language (provided by salesforce)
apiblueprintMarkdown based API description language. [aliases: apiblueprint,apib]
applescriptThe AppleScript scripting language by Apple Inc. (https://developer.apple.com/library/archive/documentation/AppleScript/Conceptual/AppleScriptLangGuide/introduction/ASLR_intro.html) [aliases: applescript]
armasmArm assembly syntax
augeasThe Augeas programming language (augeas.net) [aliases: aug]
awkpattern-directed scanning and processing language
batchfileWindows Batch File [aliases: bat,batch,dosbatch,winbatch]
bbcbasicBBC BASIC syntax
bibtexBibTeX [aliases: bib]
bimlBIML, Business Intelligence Markup Language
bpfBPF bytecode syntax
brainfuckThe Brainfuck programming language
brightscriptBrightScript Programming Language (https://developer.roku.com/en-ca/docs/references/brightscript/language/brightscript-language-reference.md) [aliases: bs,brs]
bslThe 1C:Enterprise programming language
cThe C programming language
ceylonSay more, more clearly.
cfscriptCFScript, the CFML scripting language [aliases: cfc]
cisco_iosCisco IOS configuration lexer
cleanThe Clean programming language (clean.cs.ru.nl)
clojureThe Clojure programming language (clojure.org) [aliases: clj,cljs]
cmakeThe cross-platform, open-source build system
cmhgRISC OS C module header generator source file
codeownersCode Owners syntax (https://docs.gitlab.com/ee/user/project/codeowners/reference.html)
coffeescriptThe Coffeescript programming language (coffeescript.org) [aliases: coffee,coffee-script]
common_lispThe Common Lisp variant of Lisp (common-lisp.net) [aliases: cl,common-lisp,elisp,emacs-lisp,lisp]
confA generic lexer for configuration files [aliases: config,configuration]
consoleA generic lexer for shell sessions. Accepts ?lang and ?output lexer options, a ?prompt option, ?comments to enable # comments, and ?error to handle error messages. [aliases: terminal,shell_session,shell-session]
coqCoq (coq.inria.fr)
cppThe C++ programming language [aliases: c++]
crystalCrystal The Programming Language (crystal-lang.org) [aliases: cr]
csharpa multi-paradigm language targeting .NET [aliases: c#,cs]
cssCascading Style Sheets, used to style web pages
csvsThe CSV Schema Language (digital-preservation.github.io)
cudaCompute Unified Device Architecture, used for programming with NVIDIA GPU
cypherThe Cypher query language (neo4j.com/docs/cypher-manual) [aliases: cypher]
cythonCython and Pyrex source code (cython.org) [aliases: pyx,pyrex]
dThe D programming language(dlang.org) [aliases: dlang]
dafnyThe Dafny programming language (github.com/dafny-lang/dafny)
dartThe Dart programming language (dart.dev)
datastudioDatastudio scripting language
diffLexes unified diffs or patches [aliases: patch,udiff]
digdagA simple, open source, multi-cloud workflow engine (https://www.digdag.io/)
dockerDockerfile syntax [aliases: dockerfile,Dockerfile]
dotgraph description language [aliases: graphviz]
eclEnterprise Control Language (hpccsystems.com)
eexEmbedded Elixir [aliases: leex,heex]
eiffelEiffel programming language
elixirElixir language (elixir-lang.org) [aliases: elixir,exs]
elmThe Elm programming language (http://elm-lang.org/)
emailAn email message [aliases: eml,e-mail]
eppEmbedded Puppet template files
erbEmbedded ruby template files [aliases: eruby,rhtml]
erlangThe Erlang programming language (erlang.org) [aliases: erl]
escapeA generic lexer for including escaped content - see Formatter.enable_escape! [aliases: esc]
factorFactor, the practical stack language (factorcode.org)
fluentFluent localization files [aliases: ftl]
fortranFortran 2008 (free-form)
freefemThe FreeFEM programming language (freefem.org) [aliases: ff]
fsharpF# (fsharp.net)
gdscriptThe Godot Engine programming language (https://godotengine.org/) [aliases: gd,gdscript]
ghc-cmmGHC Cmm is the intermediate representation of the GHC Haskell compiler [aliases: cmm]
ghc-coreIntermediate representation of the GHC Haskell compiler.
gherkinA business-readable spec DSL (github.com/cucumber/cucumber/wiki/Gherkin) [aliases: cucumber,behat]
glslThe GLSL shader language
goThe Go programming language (http://golang.org) [aliases: go,golang]
gradleA powerful build system for the JVM
graphqlGraphQL
groovyThe Groovy programming language (http://www.groovy-lang.org/)
hackThe Hack programming language (hacklang.org) [aliases: hack,hh]
hamlThe Haml templating system for Ruby (haml.info) [aliases: HAML]
handlebarsthe Handlebars and Mustache templating languages [aliases: hbs,mustache]
haskellThe Haskell programming language (haskell.org) [aliases: hs]
haxeHaxe Cross-platform Toolkit (http://haxe.org) [aliases: hx,haxe]
hclHashicorp Configuration Language, used by Terraform and other Hashicorp tools
hlslHLSL, the High Level Shading Language for DirectX (docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl)
hoconHuman-Optimized Config Object Notation (https://github.com/lightbend/config)
hqlHive Query Language SQL dialect
htmlHTML, the markup language of the web
httphttp requests and responses
hylangThe HyLang programming language (hylang.org) [aliases: hy]
idlangInteractive Data Language
idrisThe Idris programming language (idris-lang.org) [aliases: idr]
igorproWaveMetrics Igor Pro
inithe INI configuration format
ioThe IO programming language (http://iolanguage.com)
irbShell sessions in IRB or Pry [aliases: pry]
irb_output
isabelleIsabelle theories (isabelle.in.tum.de) [aliases: isa,Isabelle]
isblThe ISBL programming language
jThe J programming language (jsoftware.com)
janetThe Janet programming language (janet-lang.org) [aliases: jdn]
javaThe Java programming language (java.com)
javascriptJavaScript, the browser scripting language [aliases: js]
jinjaDjango/Jinja template engine (jinja.pocoo.org) [aliases: django]
jslThe JMP Scripting Language (JSL) (jmp.com)
jsonJavaScript Object Notation (json.org)
json-docJavaScript Object Notation with extensions for documentation [aliases: jsonc]
jsonnetAn elegant, formally-specified config language for JSON
jspJSP
jsxAn XML-like syntax extension to JavaScript (facebook.github.io/jsx/) [aliases: jsx,react]
juliaThe Julia programming language [aliases: jl]
kotlinKotlin Programming Language (http://kotlinlang.org)
lassoThe Lasso programming language (lassosoft.com) [aliases: lassoscript]
leanThe Lean programming language (leanprover.github.io) [aliases: lean]
liquidLiquid is a templating engine for Ruby (liquidmarkup.org)
literate_coffeescriptLiterate coffeescript [aliases: litcoffee]
literate_haskellLiterate haskell [aliases: lithaskell,lhaskell,lhs]
livescriptLiveScript, a language which compiles to JavaScript (livescript.net) [aliases: ls]
llvmThe LLVM Compiler Infrastructure (http://llvm.org/)
luaLua (http://www.lua.org)
lustreThe Lustre programming language (Verimag)
lutinThe Lutin programming language (Verimag)
m68kMotorola 68k Assembler
magikSmallworld Magik
makeMakefile syntax [aliases: makefile,mf,gnumake,bsdmake]
markdownMarkdown, a light-weight markup language for authors [aliases: md,mkd]
masonThe HTML::Mason framework (https://metacpan.org/pod/HTML::Mason)
mathematicaWolfram Mathematica, the world's definitive system for modern technical computing. [aliases: wl]
matlabMatlab [aliases: m]
mesonMeson's specification language (mesonbuild.com)
minizincMiniZinc is a free and open-source constraint modeling language (minizinc.org)
moonscriptMoonscript (http://www.moonscript.org) [aliases: moon]
moselAn optimization language used by Fico's Xpress.
msgtransRISC OS message translator messages file
mxmlMXML
nasmNetwide Assembler
nesasmNesasm3 assembly (6502 asm) [aliases: nes]
nginxconfiguration files for the nginx web server (nginx.org)
nialThe Nial programming language (nial-array-language.org)
nimThe Nim programming language (http://nim-lang.org/) [aliases: nimrod]
nixThe Nix expression language (https://nixos.org/nix/manual/#ch-expression-language) [aliases: nixos]
objective_can extension of C commonly used to write Apple software [aliases: objc,obj-c,obj_c,objectivec]
objective_cppan extension of C++ uncommonly used to write Apple software [aliases: objcpp,obj-cpp,obj_cpp,objectivecpp,objc++,obj-c++,obj_c++,objectivec++]
ocamlObjective Caml (ocaml.org)
oclOMG Object Constraint Language (omg.org/spec/OCL) [aliases: OCL]
openedgeThe OpenEdge ABL programming language [aliases: abl]
opentype_feature_fileFeature specifications for an OpenType font (adobe-type-tools.github.io/afdko) [aliases: fea,opentype,opentypefeature]
pascala procedural programming language commonly used as a teaching language.
perlThe Perl scripting language (perl.org) [aliases: pl]
phpThe PHP scripting language (php.net) [aliases: php,php3,php4,php5]
plaintextA boring lexer that doesn't highlight anything [aliases: text]
plistplist [aliases: plist]
plsqlProcedural Language Structured Query Language for Oracle relational database
pony
postscriptThe PostScript language (adobe.com/devnet/postscript.html) [aliases: postscr,postscript,ps,eps]
powershellpowershell [aliases: posh,microsoftshell,msshell]
praatThe Praat scripting language (praat.org)
prologThe Prolog programming language (http://en.wikipedia.org/wiki/Prolog) [aliases: prolog]
prometheusprometheus [aliases: prometheus]
properties.properties config files for Java
protobufGoogle's language-neutral, platform-neutral, extensible mechanism for serializing structured data [aliases: proto]
puppetThe Puppet configuration management language (puppetlabs.org) [aliases: pp]
pythonThe Python programming language (python.org) [aliases: py]
qThe Q programming language (kx.com) [aliases: kdb+]
qmlQML, a UI markup language [aliases: qml]
rThe R statistics language (r-project.org) [aliases: r,R,s,S]
racketRacket is a Lisp descended from Scheme (racket-lang.org)
reasonmlNew syntax on top of OCaml ecosystem (reasonml.github.io)
regoThe Rego open-policy-agent (OPA) policy language (openpolicyagent.org)
rescriptThe ReScript programming language (rescript-lang.org)
rmlA system agnostic domain-specific language for runtime monitoring and verification (https://rmlatdibris.github.io/)
robot_frameworkRobot Framework is a generic open source automation testing framework (robotframework.org) [aliases: robot,robot-framework]
rubyThe Ruby programming language (ruby-lang.org) [aliases: rb]
rustThe Rust programming language (rust-lang.org) [aliases: rs,rust,no_run,rs,no_run,rust,ignore,rs,ignore,rust,should_panic,rs,should_panic]
sasSAS (Statistical Analysis Software)
sassThe Sass stylesheet language language (sass-lang.com)
scalaThe Scala programming language (scala-lang.org) [aliases: scala]
schemeThe Scheme variant of Lisp
scssSCSS stylesheets (sass-lang.com)
sedsed, the ultimate stream editor
shellVarious shell languages, including sh and bash [aliases: bash,zsh,ksh,sh]
sievemail filtering language
sliceSpecification Language for Ice (doc.zeroc.com)
slimThe Slim template language
smalltalkThe Smalltalk programming language [aliases: st,squeak]
smartySmarty Template Engine [aliases: smarty]
smlStandard ML [aliases: ml]
sparqlSemantic Query Language, for RDF data
sqfStatus Quo Function, a Real Virtuality engine scripting language
sqlStructured Query Language, for relational databases
sshA lexer for SSH configuration files
stanStan Modeling Language (mc-stan.org)
stataThe Stata programming language (www.stata.com)
supercolliderA cross-platform interpreted programming language for sound synthesis, algorithmic composition, and realtime performance
svelteSvelte single-file components (https://svelte.dev/)
swiftMulti paradigm, compiled programming language developed by Apple for iOS and OS X development. (developer.apple.com/swift)
systemdA lexer for systemd unit files [aliases: unit-file]
syzlangSyscall description language used by syzkaller
syzprogProgram description language used by syzkaller
tapTest Anything Protocol [aliases: tap]
tclThe Tool Command Language (tcl.tk)
terraformTerraform HCL Interpolations [aliases: tf]
texThe TeX typesetting system [aliases: TeX,LaTeX,latex]
tomlthe TOML configuration format (https://github.com/toml-lang/toml)
tsxTypeScript-compatible JSX (www.typescriptlang.org/docs/handbook/jsx.html)
ttcn3The TTCN3 programming language (ttcn-3.org)
tulipthe tulip programming language (twitter.com/tuliplang) [aliases: tulip]
turtleTerse RDF Triple Language, TriG
twigTwig template engine (twig.sensiolabs.org)
typescriptTypeScript, a superset of JavaScript (https://www.typescriptlang.org/) [aliases: ts]
valaA programming language similar to csharp.
vbVisual Basic [aliases: visualbasic]
vclThe configuration language for Varnish HTTP Cache (varnish-cache.org) [aliases: varnishconf,varnish]
velocityVelocity is a Java-based template engine (velocity.apache.org)
verilogThe System Verilog hardware description language
vhdlVery High Speed Integrated Circuit Hardware Description Language
vimlVimL, the scripting language for the Vim editor (vim.org) [aliases: vim,vimscript,ex]
vueVue.js single-file components [aliases: vuejs]
wollokWollok lang
xml<desc for="this-lexer">XML</desc>
xojoXojo [aliases: realbasic]
xpathXML Path Language (XPath) 3.1
xqueryXQuery 3.1: An XML Query Language
yamlYaml Ain't Markup Language (yaml.org) [aliases: yml]
yangLexer for the YANG 1.1 modeling language (RFC7950)
zigThe Zig programming language (ziglang.org) [aliases: zir]
+ + diff --git a/app/views/help/wiki_syntax/common_mark/de/wiki_syntax_detailed_common_mark.html.erb b/app/views/help/wiki_syntax/common_mark/de/wiki_syntax_detailed_common_mark.html.erb index b917d26ea..0e68e83cf 100644 --- a/app/views/help/wiki_syntax/common_mark/de/wiki_syntax_detailed_common_mark.html.erb +++ b/app/views/help/wiki_syntax/common_mark/de/wiki_syntax_detailed_common_mark.html.erb @@ -315,7 +315,7 @@ Es kann durch Klicken auf einen Link erweitert werden.

Code-Hervorhebung

-

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.

+

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):

diff --git a/app/views/help/wiki_syntax/common_mark/en/wiki_syntax_detailed_common_mark.html.erb b/app/views/help/wiki_syntax/common_mark/en/wiki_syntax_detailed_common_mark.html.erb index e5ac78fea..2ae37e4d4 100644 --- a/app/views/help/wiki_syntax/common_mark/en/wiki_syntax_detailed_common_mark.html.erb +++ b/app/views/help/wiki_syntax/common_mark/en/wiki_syntax_detailed_common_mark.html.erb @@ -312,7 +312,7 @@ It can be expanded by clicking a link.

Code highlighting

-

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.

+

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):

diff --git a/app/views/help/wiki_syntax/markdown/bg/wiki_syntax_detailed_markdown.html.erb b/app/views/help/wiki_syntax/markdown/bg/wiki_syntax_detailed_markdown.html.erb index 6478abe45..9d324c261 100644 --- a/app/views/help/wiki_syntax/markdown/bg/wiki_syntax_detailed_markdown.html.erb +++ b/app/views/help/wiki_syntax/markdown/bg/wiki_syntax_detailed_markdown.html.erb @@ -314,7 +314,7 @@ It can be expanded by clicking a link.

Code highlighting

-

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.

+

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):

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 index f06e5b522..81b404e92 100644 --- 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 @@ -23,7 +23,7 @@ -Highlighted code (" target="_blank">more | supported languages) +Highlighted code (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Вграден код" }) %>``` ruby
3.times do
  puts 'Hello'
end
```
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/markdown/ca/wiki_syntax_detailed_markdown.html.erb b/app/views/help/wiki_syntax/markdown/ca/wiki_syntax_detailed_markdown.html.erb
index 6478abe45..9d324c261 100644
--- a/app/views/help/wiki_syntax/markdown/ca/wiki_syntax_detailed_markdown.html.erb
+++ b/app/views/help/wiki_syntax/markdown/ca/wiki_syntax_detailed_markdown.html.erb
@@ -314,7 +314,7 @@ It can be expanded by clicking a link.
 
     

Code highlighting

-

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.

+

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):

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 index bcd61feca..e2375f0fc 100644 --- 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 @@ -23,7 +23,7 @@
-Highlighted code (" target="_blank">more | supported languages) +Highlighted code (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Highlighted code" }) %>``` ruby
3.times do
  puts 'Hello'
end
```
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/markdown/cs/wiki_syntax_detailed_markdown.html.erb b/app/views/help/wiki_syntax/markdown/cs/wiki_syntax_detailed_markdown.html.erb
index fa93c1d2e..81cf7733f 100644
--- a/app/views/help/wiki_syntax/markdown/cs/wiki_syntax_detailed_markdown.html.erb
+++ b/app/views/help/wiki_syntax/markdown/cs/wiki_syntax_detailed_markdown.html.erb
@@ -311,7 +311,7 @@ Pro rozbalení klikněte na odkaz.
 
     

Zvýrazňování kódu

-

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.

+

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):

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 index 40d734478..055eea764 100644 --- 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 @@ -23,7 +23,7 @@
-Zvýrazněný kód (" target="_blank">více | podporované jazyky) +Zvýrazněný kód (" target="_blank">více | podporované jazyky) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Highlighted code" }) %>``` ruby
3.times do
  puts 'Ahoj'
end
```
3.times do
   puts 'Ahoj'
diff --git a/app/views/help/wiki_syntax/markdown/de/wiki_syntax_detailed_markdown.html.erb b/app/views/help/wiki_syntax/markdown/de/wiki_syntax_detailed_markdown.html.erb
index 01d654045..33ac17afe 100644
--- a/app/views/help/wiki_syntax/markdown/de/wiki_syntax_detailed_markdown.html.erb
+++ b/app/views/help/wiki_syntax/markdown/de/wiki_syntax_detailed_markdown.html.erb
@@ -315,7 +315,7 @@ Es kann durch Klicken auf einen Link erweitert werden.
 
     

Code-Hervorhebung

-

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.

+

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):

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 index c65e2136e..44c0dc527 100644 --- 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 @@ -23,7 +23,7 @@
-Hervorgehobener Programmcode (" target="_blank">mehr | Unterstützte Sprachen) +Hervorgehobener Programmcode (" target="_blank">mehr | Unterstützte Sprachen) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Highlighted code" }) %>``` ruby
3.times do
  puts 'Hello'
end
```
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/markdown/en/wiki_syntax_detailed_markdown.html.erb b/app/views/help/wiki_syntax/markdown/en/wiki_syntax_detailed_markdown.html.erb
index 6478abe45..9d324c261 100644
--- a/app/views/help/wiki_syntax/markdown/en/wiki_syntax_detailed_markdown.html.erb
+++ b/app/views/help/wiki_syntax/markdown/en/wiki_syntax_detailed_markdown.html.erb
@@ -314,7 +314,7 @@ It can be expanded by clicking a link.
 
     

Code highlighting

-

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.

+

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):

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 index cfdda9389..caf6a7c54 100644 --- 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 @@ -23,7 +23,7 @@
-Highlighted code (" target="_blank">more | supported languages) +Highlighted code (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Highlighted code" }) %>``` ruby
3.times do
  puts 'Hello'
end
```
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/markdown/es-pa/wiki_syntax_detailed_markdown.html.erb b/app/views/help/wiki_syntax/markdown/es-pa/wiki_syntax_detailed_markdown.html.erb
index 6478abe45..9d324c261 100644
--- a/app/views/help/wiki_syntax/markdown/es-pa/wiki_syntax_detailed_markdown.html.erb
+++ b/app/views/help/wiki_syntax/markdown/es-pa/wiki_syntax_detailed_markdown.html.erb
@@ -314,7 +314,7 @@ It can be expanded by clicking a link.
 
     

Code highlighting

-

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.

+

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):

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 index f3a02e0e7..505b3ab67 100644 --- 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 @@ -23,7 +23,7 @@
-Highlighted code (" target="_blank">more | supported languages) +Highlighted code (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Código resaltado" }) %>``` ruby
3.times do
  puts 'Hello'
end
```
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/markdown/es/wiki_syntax_detailed_markdown.html.erb b/app/views/help/wiki_syntax/markdown/es/wiki_syntax_detailed_markdown.html.erb
index 6478abe45..9d324c261 100644
--- a/app/views/help/wiki_syntax/markdown/es/wiki_syntax_detailed_markdown.html.erb
+++ b/app/views/help/wiki_syntax/markdown/es/wiki_syntax_detailed_markdown.html.erb
@@ -314,7 +314,7 @@ It can be expanded by clicking a link.
 
     

Code highlighting

-

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.

+

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):

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 index f3a02e0e7..505b3ab67 100644 --- 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 @@ -23,7 +23,7 @@
-Highlighted code (" target="_blank">more | supported languages) +Highlighted code (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Código resaltado" }) %>``` ruby
3.times do
  puts 'Hello'
end
```
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/markdown/fr/wiki_syntax_detailed_markdown.html.erb b/app/views/help/wiki_syntax/markdown/fr/wiki_syntax_detailed_markdown.html.erb
index 6478abe45..9d324c261 100644
--- a/app/views/help/wiki_syntax/markdown/fr/wiki_syntax_detailed_markdown.html.erb
+++ b/app/views/help/wiki_syntax/markdown/fr/wiki_syntax_detailed_markdown.html.erb
@@ -314,7 +314,7 @@ It can be expanded by clicking a link.
 
     

Code highlighting

-

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.

+

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):

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 index c0ecbbeab..89298f7e2 100644 --- 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 @@ -23,7 +23,7 @@
-Highlighted code (" target="_blank">more | supported languages) +Highlighted code (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Code colorisé" }) %>``` ruby
3.times do
  puts 'Hello'
end
```
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/markdown/gl/wiki_syntax_detailed_markdown.html.erb b/app/views/help/wiki_syntax/markdown/gl/wiki_syntax_detailed_markdown.html.erb
index f5d2d3447..2e73e1519 100644
--- a/app/views/help/wiki_syntax/markdown/gl/wiki_syntax_detailed_markdown.html.erb
+++ b/app/views/help/wiki_syntax/markdown/gl/wiki_syntax_detailed_markdown.html.erb
@@ -313,7 +313,7 @@ It can be expanded by clicking a link.
 
     

Code highlighting

-

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.

+

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):

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 index f3a02e0e7..505b3ab67 100644 --- 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 @@ -23,7 +23,7 @@
-Highlighted code (" target="_blank">more | supported languages) +Highlighted code (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Código resaltado" }) %>``` ruby
3.times do
  puts 'Hello'
end
```
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/markdown/ja/wiki_syntax_detailed_markdown.html.erb b/app/views/help/wiki_syntax/markdown/ja/wiki_syntax_detailed_markdown.html.erb
index b68de292d..237fa99ff 100644
--- a/app/views/help/wiki_syntax/markdown/ja/wiki_syntax_detailed_markdown.html.erb
+++ b/app/views/help/wiki_syntax/markdown/ja/wiki_syntax_detailed_markdown.html.erb
@@ -312,7 +312,7 @@ To go live, all you need to add is a database and a web server.
 
     

コードハイライト

-

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 を参照してください。

+

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記法に対応している箇所であればどこでも以下の記述によりコードハイライトが利用できます (言語名・別名では大文字・小文字は区別されません):

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 index 3f601f8b2..e0ef6022d 100644 --- 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 @@ -22,7 +22,7 @@
-コードハイライト (" target="_blank">詳細 | 対応言語) +コードハイライト (" target="_blank">詳細 | 対応言語) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "コードハイライト" }) %>``` ruby
3.times do
  puts 'Hello'
end
```
3.times do
   puts 'Hello'
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
index 6478abe45..9d324c261 100644
--- 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
@@ -314,7 +314,7 @@ It can be expanded by clicking a link.
 
     

Code highlighting

-

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.

+

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):

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 index 6552b35ac..0d8cb9ac0 100644 --- 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 @@ -23,7 +23,7 @@
-Highlighted code (" target="_blank">more | supported languages) +Highlighted code (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "색상화한 코드" }) %>``` ruby
3.times do
  puts 'Hello'
end
```
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/markdown/nl/wiki_syntax_detailed_markdown.html.erb b/app/views/help/wiki_syntax/markdown/nl/wiki_syntax_detailed_markdown.html.erb
index 6478abe45..9d324c261 100644
--- a/app/views/help/wiki_syntax/markdown/nl/wiki_syntax_detailed_markdown.html.erb
+++ b/app/views/help/wiki_syntax/markdown/nl/wiki_syntax_detailed_markdown.html.erb
@@ -314,7 +314,7 @@ It can be expanded by clicking a link.
 
     

Code highlighting

-

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.

+

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):

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 index 06ec8793d..5f65f387d 100644 --- 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 @@ -23,7 +23,7 @@
-Highlighted code (" target="_blank">more | supported languages) +Highlighted code (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Gemarkeerde code" }) %>``` ruby
3.times do
  puts 'Hello'
end
```
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/markdown/pt-br/wiki_syntax_detailed_markdown.html.erb b/app/views/help/wiki_syntax/markdown/pt-br/wiki_syntax_detailed_markdown.html.erb
index 6478abe45..9d324c261 100644
--- a/app/views/help/wiki_syntax/markdown/pt-br/wiki_syntax_detailed_markdown.html.erb
+++ b/app/views/help/wiki_syntax/markdown/pt-br/wiki_syntax_detailed_markdown.html.erb
@@ -314,7 +314,7 @@ It can be expanded by clicking a link.
 
     

Code highlighting

-

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.

+

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):

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 index 04a76b1e5..3f85e1756 100644 --- 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 @@ -23,7 +23,7 @@
-Highlighted code (" target="_blank">more | supported languages) +Highlighted code (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Highlighted code" }) %>``` ruby
3.times do
  puts 'Hello'
end
```
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/markdown/ta-in/wiki_syntax_detailed_markdown.html.erb b/app/views/help/wiki_syntax/markdown/ta-in/wiki_syntax_detailed_markdown.html.erb
index 942dfc3b4..90c421fca 100644
--- a/app/views/help/wiki_syntax/markdown/ta-in/wiki_syntax_detailed_markdown.html.erb
+++ b/app/views/help/wiki_syntax/markdown/ta-in/wiki_syntax_detailed_markdown.html.erb
@@ -314,7 +314,7 @@ http://www.redmine.org, someone@foo.bar
 
     

குறியீடு சிறப்பம்சமாக

-

இயல்புநிலை குறியீடு சிறப்பம்சத்தை நம்பியுள்ளது 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.

+

இயல்புநிலை குறியீடு சிறப்பம்சத்தை நம்பியுள்ளது 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.

இந்த தொடரியல் பயன்படுத்தி விக்கி வடிவமைப்பை ஆதரிக்கும் எந்த இடத்திலும் குறியீட்டை முன்னிலைப்படுத்தலாம் (மொழி பெயர் அல்லது மாற்று வழக்கு-உணர்வற்றது என்பதை நினைவில் கொள்க):

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 index 4f5e7b97c..76a512fcf 100644 --- 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 @@ -23,7 +23,7 @@
-சிறப்பம்சமாக குறியீடு (" target="_blank">மேலும் | supported languages) +சிறப்பம்சமாக குறியீடு (" target="_blank">மேலும் | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Highlighted code" }) %>``` ruby
3.times do
  puts 'Hello'
end
```
3.times do
   puts 'Hello'
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
index 9c64ac1cd..838bfba3d 100644
--- 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
@@ -312,7 +312,7 @@ http://www.redmine.org, someone@foo.bar
 
     

Підсвітка синтаксису коду

-

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.

+

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.

Ви можете виділити підсвіткою код в будь-якому місці, яке підтримує вікі-форматування, використовуючи наступний синтаксис (зверніть увагу, що назва мови або псевдонім не чутливі до регістру):

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 index 60a42188d..69da04e32 100644 --- 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 @@ -23,7 +23,7 @@
-иділений код (" target="_blank">more | supported languages) +иділений код (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Виділений код" }) %>``` ruby
3.times do
  puts 'Hello'
end
```
3.times do
   puts 'Hello'
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
index 0696eb2d0..ee0449e23 100644
--- 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
@@ -312,7 +312,7 @@ It can be expanded by clicking a link.
 
     

程式碼醒目提示

-

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.

+

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 格式設定的地方,使用這個語法來醒目提示程式碼 (注意語言與其別名的名稱不須區分大小寫):

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 index 3000df921..fd06eddcd 100644 --- 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 @@ -22,7 +22,7 @@
-反白程式碼 (" target="_blank">more | supported languages) +反白程式碼 (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "反白程式碼" }) %>``` ruby
3.times do
  puts 'Hello'
end
```
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/textile/bg/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/bg/wiki_syntax_detailed_textile.html.erb
index 1627fd98e..03ed0141f 100644
--- a/app/views/help/wiki_syntax/textile/bg/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/bg/wiki_syntax_detailed_textile.html.erb
@@ -319,7 +319,7 @@ It can be expanded by clicking a link.
 
     

Code highlighting

-

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.

+

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):

diff --git a/app/views/help/wiki_syntax/textile/bg/wiki_syntax_textile.html.erb b/app/views/help/wiki_syntax/textile/bg/wiki_syntax_textile.html.erb index 7e397bbc9..41bca4684 100644 --- a/app/views/help/wiki_syntax/textile/bg/wiki_syntax_textile.html.erb +++ b/app/views/help/wiki_syntax/textile/bg/wiki_syntax_textile.html.erb @@ -24,7 +24,7 @@
-Highlighted code (" target="_blank">more | supported languages) +Highlighted code (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Вграден код" }) %><pre><code class="ruby">
3.times do
  puts 'Hello'
end
</code></pre>
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/textile/ca/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/ca/wiki_syntax_detailed_textile.html.erb
index 1627fd98e..03ed0141f 100644
--- a/app/views/help/wiki_syntax/textile/ca/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/ca/wiki_syntax_detailed_textile.html.erb
@@ -319,7 +319,7 @@ It can be expanded by clicking a link.
 
     

Code highlighting

-

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.

+

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):

diff --git a/app/views/help/wiki_syntax/textile/ca/wiki_syntax_textile.html.erb b/app/views/help/wiki_syntax/textile/ca/wiki_syntax_textile.html.erb index 2725f5ec4..1a854e50f 100644 --- a/app/views/help/wiki_syntax/textile/ca/wiki_syntax_textile.html.erb +++ b/app/views/help/wiki_syntax/textile/ca/wiki_syntax_textile.html.erb @@ -24,7 +24,7 @@
-Highlighted code (" target="_blank">more | supported languages) +Highlighted code (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Highlighted code" }) %><pre><code class="ruby">
3.times do
  puts 'Hello'
end
</code></pre>
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/textile/cs/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/cs/wiki_syntax_detailed_textile.html.erb
index 6adfde547..d5de3c6e6 100644
--- a/app/views/help/wiki_syntax/textile/cs/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/cs/wiki_syntax_detailed_textile.html.erb
@@ -327,7 +327,7 @@ Pro rozbalení klikněte na odkaz.
 
     

Zvýrazňování kódu

-

Výchozí zvýrazňování kódu závisí na Rouge, zvýrazňovači kódu napsaném v Ruby. Rouge podporuje mnoho běžný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 z závorkách jsou aliasy. Podívejte se, prosím, na seznam jazyků podporovaných zvýrazňovačem kódu Redmine.

+

Výchozí zvýrazňování kódu závisí na Rouge, zvýrazňovači kódu napsaném v Ruby. Rouge podporuje mnoho běžný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 z závorkách jsou aliasy. Podívejte se, prosím, na seznam jazyků podporovaný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):

diff --git a/app/views/help/wiki_syntax/textile/cs/wiki_syntax_textile.html.erb b/app/views/help/wiki_syntax/textile/cs/wiki_syntax_textile.html.erb index 8c113ee5e..4def3d1ce 100644 --- a/app/views/help/wiki_syntax/textile/cs/wiki_syntax_textile.html.erb +++ b/app/views/help/wiki_syntax/textile/cs/wiki_syntax_textile.html.erb @@ -24,7 +24,7 @@
-Zvýrazněný kód (" target="_blank">více | podporované jazyky) +Zvýrazněný kód (" target="_blank">více | podporované jazyky) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Zvýrazněný kód" }) %><pre><code class="ruby">
3.times do
  puts 'Ahoj'
end
</code></pre>
3.times do
   puts 'Ahoj'
diff --git a/app/views/help/wiki_syntax/textile/de/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/de/wiki_syntax_detailed_textile.html.erb
index 085c12576..468dbd7a3 100644
--- a/app/views/help/wiki_syntax/textile/de/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/de/wiki_syntax_detailed_textile.html.erb
@@ -320,7 +320,7 @@ Es kann durch Klicken auf einen Link erweitert werden.
 
     

Code-Hervorhebung

-

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.

+

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):

diff --git a/app/views/help/wiki_syntax/textile/de/wiki_syntax_textile.html.erb b/app/views/help/wiki_syntax/textile/de/wiki_syntax_textile.html.erb index 46f017c79..1708e09bf 100644 --- a/app/views/help/wiki_syntax/textile/de/wiki_syntax_textile.html.erb +++ b/app/views/help/wiki_syntax/textile/de/wiki_syntax_textile.html.erb @@ -24,7 +24,7 @@
-Hervorgehobener Programmcode (" target="_blank">mehr | Unterstützte Sprachen) +Hervorgehobener Programmcode (" target="_blank">mehr | Unterstützte Sprachen) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Hervorgehobener Programmcode" }) %><pre><code class="ruby">
3.times do
  puts 'Hello'
end
</code></pre>
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/textile/en/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/en/wiki_syntax_detailed_textile.html.erb
index 1627fd98e..03ed0141f 100644
--- a/app/views/help/wiki_syntax/textile/en/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/en/wiki_syntax_detailed_textile.html.erb
@@ -319,7 +319,7 @@ It can be expanded by clicking a link.
 
     

Code highlighting

-

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.

+

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):

diff --git a/app/views/help/wiki_syntax/textile/en/wiki_syntax_textile.html.erb b/app/views/help/wiki_syntax/textile/en/wiki_syntax_textile.html.erb index 270176219..58e5046b2 100644 --- a/app/views/help/wiki_syntax/textile/en/wiki_syntax_textile.html.erb +++ b/app/views/help/wiki_syntax/textile/en/wiki_syntax_textile.html.erb @@ -24,7 +24,7 @@
-Highlighted code (" target="_blank">more | supported languages) +Highlighted code (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Highlighted code" }) %><pre><code class="ruby">
3.times do
  puts 'Hello'
end
</code></pre>
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/textile/es-pa/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/es-pa/wiki_syntax_detailed_textile.html.erb
index 1627fd98e..03ed0141f 100644
--- a/app/views/help/wiki_syntax/textile/es-pa/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/es-pa/wiki_syntax_detailed_textile.html.erb
@@ -319,7 +319,7 @@ It can be expanded by clicking a link.
 
     

Code highlighting

-

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.

+

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):

diff --git a/app/views/help/wiki_syntax/textile/es-pa/wiki_syntax_textile.html.erb b/app/views/help/wiki_syntax/textile/es-pa/wiki_syntax_textile.html.erb index 4b5355ac8..36f631ea5 100644 --- a/app/views/help/wiki_syntax/textile/es-pa/wiki_syntax_textile.html.erb +++ b/app/views/help/wiki_syntax/textile/es-pa/wiki_syntax_textile.html.erb @@ -24,7 +24,7 @@
-Highlighted code (" target="_blank">more | supported languages) +Highlighted code (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Código resaltado" }) %><pre><code class="ruby">
3.times do
  puts 'Hello'
end
</code></pre>
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/textile/es/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/es/wiki_syntax_detailed_textile.html.erb
index 1627fd98e..03ed0141f 100644
--- a/app/views/help/wiki_syntax/textile/es/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/es/wiki_syntax_detailed_textile.html.erb
@@ -319,7 +319,7 @@ It can be expanded by clicking a link.
 
     

Code highlighting

-

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.

+

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):

diff --git a/app/views/help/wiki_syntax/textile/es/wiki_syntax_textile.html.erb b/app/views/help/wiki_syntax/textile/es/wiki_syntax_textile.html.erb index 4b5355ac8..36f631ea5 100644 --- a/app/views/help/wiki_syntax/textile/es/wiki_syntax_textile.html.erb +++ b/app/views/help/wiki_syntax/textile/es/wiki_syntax_textile.html.erb @@ -24,7 +24,7 @@
-Highlighted code (" target="_blank">more | supported languages) +Highlighted code (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Código resaltado" }) %><pre><code class="ruby">
3.times do
  puts 'Hello'
end
</code></pre>
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/textile/fr/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/fr/wiki_syntax_detailed_textile.html.erb
index 0c98afdaf..f8340d346 100644
--- a/app/views/help/wiki_syntax/textile/fr/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/fr/wiki_syntax_detailed_textile.html.erb
@@ -312,7 +312,7 @@ Il peut être déroulé en cliquant sur le lien.
 
     

Coloration syntaxique

-

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.

+

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):

diff --git a/app/views/help/wiki_syntax/textile/fr/wiki_syntax_textile.html.erb b/app/views/help/wiki_syntax/textile/fr/wiki_syntax_textile.html.erb index f7a48e19f..0e7c7ba48 100644 --- a/app/views/help/wiki_syntax/textile/fr/wiki_syntax_textile.html.erb +++ b/app/views/help/wiki_syntax/textile/fr/wiki_syntax_textile.html.erb @@ -24,7 +24,7 @@
-Code colorisé (" target="_blank">more | supported languages) +Code colorisé (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Code colorisé" }) %><pre><code class="ruby">
3.times do
  puts 'Hello'
end
</code></pre>
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/textile/gl/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/gl/wiki_syntax_detailed_textile.html.erb
index d4babb491..7b755a53f 100644
--- a/app/views/help/wiki_syntax/textile/gl/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/gl/wiki_syntax_detailed_textile.html.erb
@@ -320,7 +320,7 @@ It can be expanded by clicking a link.
 
     

Code highlighting

-

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.

+

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):

diff --git a/app/views/help/wiki_syntax/textile/gl/wiki_syntax_textile.html.erb b/app/views/help/wiki_syntax/textile/gl/wiki_syntax_textile.html.erb index 6c1f8d651..2d54bda9a 100644 --- a/app/views/help/wiki_syntax/textile/gl/wiki_syntax_textile.html.erb +++ b/app/views/help/wiki_syntax/textile/gl/wiki_syntax_textile.html.erb @@ -24,7 +24,7 @@
-Highlighted code (" target="_blank">more | supported languages) +Highlighted code (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Código resaltado" }) %><pre><code class="ruby">
3.times do
  puts 'Hello'
end
</code></pre>
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/textile/ja/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/ja/wiki_syntax_detailed_textile.html.erb
index 6d621b2e6..f194e499d 100644
--- a/app/views/help/wiki_syntax/textile/ja/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/ja/wiki_syntax_detailed_textile.html.erb
@@ -319,7 +319,7 @@ To go live, all you need to add is a database and a web server.
 
     

コードハイライト

-

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 を参照してください。

+

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記法に対応している箇所であればどこでも以下の記述によりコードハイライトが利用できます (言語名・別名では大文字・小文字は区別されません):

diff --git a/app/views/help/wiki_syntax/textile/ja/wiki_syntax_textile.html.erb b/app/views/help/wiki_syntax/textile/ja/wiki_syntax_textile.html.erb index ae62f54d6..de265edc1 100644 --- a/app/views/help/wiki_syntax/textile/ja/wiki_syntax_textile.html.erb +++ b/app/views/help/wiki_syntax/textile/ja/wiki_syntax_textile.html.erb @@ -24,7 +24,7 @@
-コードハイライト (" target="_blank">詳細 | 対応言語) +コードハイライト (" target="_blank">詳細 | 対応言語) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "コードハイライト" }) %><pre><code class="ruby">
3.times do
  puts 'Hello'
end
</code></pre>
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/textile/ko/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/ko/wiki_syntax_detailed_textile.html.erb
index 1627fd98e..03ed0141f 100644
--- a/app/views/help/wiki_syntax/textile/ko/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/ko/wiki_syntax_detailed_textile.html.erb
@@ -319,7 +319,7 @@ It can be expanded by clicking a link.
 
     

Code highlighting

-

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.

+

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):

diff --git a/app/views/help/wiki_syntax/textile/ko/wiki_syntax_textile.html.erb b/app/views/help/wiki_syntax/textile/ko/wiki_syntax_textile.html.erb index 2c3d3f4cd..a7b9cebc1 100644 --- a/app/views/help/wiki_syntax/textile/ko/wiki_syntax_textile.html.erb +++ b/app/views/help/wiki_syntax/textile/ko/wiki_syntax_textile.html.erb @@ -24,7 +24,7 @@
-Highlighted code (" target="_blank">more | supported languages) +Highlighted code (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "색상화한 코드" }) %><pre><code class="ruby">
3.times do
  puts 'Hello'
end
</code></pre>
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/textile/lt/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/lt/wiki_syntax_detailed_textile.html.erb
index c1e698f7b..527079b18 100644
--- a/app/views/help/wiki_syntax/textile/lt/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/lt/wiki_syntax_detailed_textile.html.erb
@@ -320,7 +320,7 @@ It can be expanded by clicking a link.
 
     

Code highlighting

-

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.

+

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):

diff --git a/app/views/help/wiki_syntax/textile/lt/wiki_syntax_textile.html.erb b/app/views/help/wiki_syntax/textile/lt/wiki_syntax_textile.html.erb index 270176219..58e5046b2 100644 --- a/app/views/help/wiki_syntax/textile/lt/wiki_syntax_textile.html.erb +++ b/app/views/help/wiki_syntax/textile/lt/wiki_syntax_textile.html.erb @@ -24,7 +24,7 @@
-Highlighted code (" target="_blank">more | supported languages) +Highlighted code (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Highlighted code" }) %><pre><code class="ruby">
3.times do
  puts 'Hello'
end
</code></pre>
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/textile/nl/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/nl/wiki_syntax_detailed_textile.html.erb
index 1627fd98e..03ed0141f 100644
--- a/app/views/help/wiki_syntax/textile/nl/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/nl/wiki_syntax_detailed_textile.html.erb
@@ -319,7 +319,7 @@ It can be expanded by clicking a link.
 
     

Code highlighting

-

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.

+

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):

diff --git a/app/views/help/wiki_syntax/textile/nl/wiki_syntax_textile.html.erb b/app/views/help/wiki_syntax/textile/nl/wiki_syntax_textile.html.erb index 1323097ff..2fee4f5d9 100644 --- a/app/views/help/wiki_syntax/textile/nl/wiki_syntax_textile.html.erb +++ b/app/views/help/wiki_syntax/textile/nl/wiki_syntax_textile.html.erb @@ -24,7 +24,7 @@
-Highlighted code (" target="_blank">more | supported languages) +Highlighted code (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Gemarkeerde code" }) %><pre><code class="ruby">
3.times do
  puts 'Hello'
end
</code></pre>
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/textile/pt-br/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/pt-br/wiki_syntax_detailed_textile.html.erb
index 1627fd98e..03ed0141f 100644
--- a/app/views/help/wiki_syntax/textile/pt-br/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/pt-br/wiki_syntax_detailed_textile.html.erb
@@ -319,7 +319,7 @@ It can be expanded by clicking a link.
 
     

Code highlighting

-

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.

+

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):

diff --git a/app/views/help/wiki_syntax/textile/pt-br/wiki_syntax_textile.html.erb b/app/views/help/wiki_syntax/textile/pt-br/wiki_syntax_textile.html.erb index 96e3c845f..d30178cac 100644 --- a/app/views/help/wiki_syntax/textile/pt-br/wiki_syntax_textile.html.erb +++ b/app/views/help/wiki_syntax/textile/pt-br/wiki_syntax_textile.html.erb @@ -24,7 +24,7 @@
-Highlighted code (" target="_blank">more | supported languages) +Highlighted code (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Highlighted code" }) %><pre><code class="ruby">
3.times do
  puts 'Hello'
end
</code></pre>
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/textile/ru/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/ru/wiki_syntax_detailed_textile.html.erb
index 849905b85..9b04f8cc3 100644
--- a/app/views/help/wiki_syntax/textile/ru/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/ru/wiki_syntax_detailed_textile.html.erb
@@ -344,7 +344,7 @@ bq. Rails - это полноценный, многоуровневый фрей
 
 

Подсветка кода

-

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.

+

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-форматирование (название языка не зависит от регистра):

diff --git a/app/views/help/wiki_syntax/textile/ru/wiki_syntax_textile.html.erb b/app/views/help/wiki_syntax/textile/ru/wiki_syntax_textile.html.erb index 77210380c..b1f300452 100644 --- a/app/views/help/wiki_syntax/textile/ru/wiki_syntax_textile.html.erb +++ b/app/views/help/wiki_syntax/textile/ru/wiki_syntax_textile.html.erb @@ -58,7 +58,7 @@ -Highlighted code (" target="_blank">more | supported languages) +Highlighted code (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Highlighted code" }) %><pre><code class="ruby">
3.times do
  puts 'Hello'
end
</code></pre>
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/textile/ta-in/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/ta-in/wiki_syntax_detailed_textile.html.erb
index f8007c45d..0adcdfb1a 100644
--- a/app/views/help/wiki_syntax/textile/ta-in/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/ta-in/wiki_syntax_detailed_textile.html.erb
@@ -319,7 +319,7 @@ bq. ரெயில்ஸ் என்பது மாடல்-வியூ-க
 
     

குறியீடு சிறப்பம்சமாக

-

இயல்புநிலை குறியீடு சிறப்பம்சத்தை நம்பியுள்ளது 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 the list of languages supported by Redmine code highlighter.

+

இயல்புநிலை குறியீடு சிறப்பம்சத்தை நம்பியுள்ளது 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 the list of languages supported by Redmine code highlighter.

இந்த தொடரியல் பயன்படுத்தி விக்கி வடிவமைப்பை ஆதரிக்கும் எந்த இடத்திலும் குறியீட்டை முன்னிலைப்படுத்தலாம் (மொழி பெயர் அல்லது மாற்று வழக்கு-உணர்வற்றது என்பதை நினைவில் கொள்க):

diff --git a/app/views/help/wiki_syntax/textile/ta-in/wiki_syntax_textile.html.erb b/app/views/help/wiki_syntax/textile/ta-in/wiki_syntax_textile.html.erb index dc40cb418..b63c43bd5 100644 --- a/app/views/help/wiki_syntax/textile/ta-in/wiki_syntax_textile.html.erb +++ b/app/views/help/wiki_syntax/textile/ta-in/wiki_syntax_textile.html.erb @@ -24,7 +24,7 @@
-சிறப்பம்சமாக குறியீடு (" target="_blank">மேலும்) | supported languages) +சிறப்பம்சமாக குறியீடு (" target="_blank">மேலும்) | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Highlighted code" }) %><pre><code class="ruby">
3.times do
  puts 'Hello'
end
</code></pre>
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/textile/uk/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/uk/wiki_syntax_detailed_textile.html.erb
index bbd47d6a0..64a91c295 100644
--- a/app/views/help/wiki_syntax/textile/uk/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/uk/wiki_syntax_detailed_textile.html.erb
@@ -319,7 +319,7 @@ bq. Redmine — серверний веб-додаток з відкритим 
 
     

Підсвітка синтаксису коду

-

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.

+

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.

Ви можете виділити підсвіткою код в будь-якому місці, яке підтримує вікі-форматування, використовуючи наступний синтаксис (зверніть увагу, що назва мови або псевдонім не чутливі до регістру):

diff --git a/app/views/help/wiki_syntax/textile/uk/wiki_syntax_textile.html.erb b/app/views/help/wiki_syntax/textile/uk/wiki_syntax_textile.html.erb index 619b8bf6f..b7fb26030 100644 --- a/app/views/help/wiki_syntax/textile/uk/wiki_syntax_textile.html.erb +++ b/app/views/help/wiki_syntax/textile/uk/wiki_syntax_textile.html.erb @@ -25,7 +25,7 @@
-иділений код (" target="_blank">more | supported languages) +иділений код (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Виділений код" }) %><pre><code class="ruby">
3.times do
  puts 'Hello'
end
</code></pre>
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/textile/zh-tw/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/zh-tw/wiki_syntax_detailed_textile.html.erb
index e78478d3b..07c263801 100644
--- a/app/views/help/wiki_syntax/textile/zh-tw/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/zh-tw/wiki_syntax_detailed_textile.html.erb
@@ -319,7 +319,7 @@ It can be expanded by clicking a link.
 
     

程式碼醒目提示

-

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.

+

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 格式設定的地方,使用這個語法來醒目提示程式碼 (注意語言與其別名的名稱不須區分大小寫):

diff --git a/app/views/help/wiki_syntax/textile/zh-tw/wiki_syntax_textile.html.erb b/app/views/help/wiki_syntax/textile/zh-tw/wiki_syntax_textile.html.erb index aa3993d07..3fb4b0036 100644 --- a/app/views/help/wiki_syntax/textile/zh-tw/wiki_syntax_textile.html.erb +++ b/app/views/help/wiki_syntax/textile/zh-tw/wiki_syntax_textile.html.erb @@ -24,7 +24,7 @@
-反白程式碼 (" target="_blank">more | supported languages) +反白程式碼 (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "反白程式碼" }) %><pre><code class="ruby">
3.times do
  puts 'Hello'
end
</code></pre>
3.times do
   puts 'Hello'
diff --git a/app/views/help/wiki_syntax/textile/zh/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/zh/wiki_syntax_detailed_textile.html.erb
index bad0199e7..30be9a0f5 100644
--- a/app/views/help/wiki_syntax/textile/zh/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/zh/wiki_syntax_detailed_textile.html.erb
@@ -319,7 +319,7 @@ To go live, all you need to add is a database and a web server.
 
     

代码高亮

-

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.

+

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):

diff --git a/app/views/help/wiki_syntax/textile/zh/wiki_syntax_textile.html.erb b/app/views/help/wiki_syntax/textile/zh/wiki_syntax_textile.html.erb index 1e093db13..ce508b404 100644 --- a/app/views/help/wiki_syntax/textile/zh/wiki_syntax_textile.html.erb +++ b/app/views/help/wiki_syntax/textile/zh/wiki_syntax_textile.html.erb @@ -24,7 +24,7 @@
-Highlighted code (" target="_blank">more | supported languages) +Highlighted code (" target="_blank">more | supported languages) <%= image_tag("images/jstoolbar/bt_precode.png", { alt: "Highlighted code" }) %><pre><code class="ruby">
3.times do
  puts 'Hello'
end
</code></pre>
3.times do
   puts 'Hello'
diff --git a/config/routes.rb b/config/routes.rb
index 6965c8a8b..3a1e7e697 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -408,6 +408,7 @@ Rails.application.routes.draw do
   get 'robots.:format', :to => 'welcome#robots', :constraints => {:format => 'txt'}
 
   get 'help/wiki_syntax/(:type)', :controller => 'help', :action => 'show_wiki_syntax', :constraints => { :type => /detailed/ }, as: 'help_wiki_syntax'
+  get 'help/code_highlighting', :controller => 'help', :action => 'show_code_highlighting',  as: 'help_code_highlighting'
 
   Redmine::Plugin.directory.glob("*/config/routes.rb").sort.each do |plugin_routes_path|
     instance_eval(plugin_routes_path.read, plugin_routes_path.to_s)
diff --git a/test/functional/help_controller_test.rb b/test/functional/help_controller_test.rb
index a2743dd16..3bd689094 100644
--- a/test/functional/help_controller_test.rb
+++ b/test/functional/help_controller_test.rb
@@ -81,4 +81,11 @@ class HelpControllerTest < Redmine::ControllerTest
 
     assert_match "Wiki Syntax Quick Reference (CommonMark Markdown (GitHub Flavored))", response.body
   end
+
+  def test_get_help_code_highlighting
+    get :show_code_highlighting
+    assert_response :success
+
+    assert_select 'h1', :text =>  "List of languages supported by Redmine code highlighter"
+  end
 end
diff --git a/test/integration/routing/help_test.rb b/test/integration/routing/help_test.rb
index 3a94621ac..6c1e5edeb 100644
--- a/test/integration/routing/help_test.rb
+++ b/test/integration/routing/help_test.rb
@@ -23,5 +23,7 @@ class RoutingHelpTest < Redmine::RoutingTest
   def test_help
     should_route 'GET /help/wiki_syntax' => 'help#show_wiki_syntax'
     should_route 'GET /help/wiki_syntax/detailed' => 'help#show_wiki_syntax', :type => "detailed"
+
+    should_route 'GET /help/code_highlighting' => 'help#show_code_highlighting'
   end
 end