Project

General

Profile

RedmineCodeHighlightingLanguages » History » Version 11

Go MAEDA, 2024-11-14 11:41
Redmine 6.0.1

1 1 Go MAEDA
h1. Code highlighting supported languages
2
3 9 Go MAEDA
Default code highlighting relies on "Rouge":http://rouge.jneen.net/ since Redmine 4.0.0. It supports over 200 languages. Refer [[RedmineTextFormattingTextile#Code-highlighting]] or [[RedmineTextFormattingMarkdown#Code-highlighting]] for how to highlight code.
4 1 Go MAEDA
5 11 Go MAEDA
Here is a list of supported languages by Rouge 4.5.0, which is bundled with Redmine 6.0.1. You can also get a list by running @bundle exec rougify list@ in the installation directory of Redmine.
6 1 Go MAEDA
7
|_. Language |_. Description |
8
| @abap@ | SAP - Advanced Business Application Programming |
9
| @actionscript@ | ActionScript [aliases: as,as3] |
10 8 Go MAEDA
| @ada@ | The Ada 2012 programming language |
11 1 Go MAEDA
| @apache@ | configuration files for Apache web server |
12 8 Go MAEDA
| @apex@ | The Apex programming language (provided by salesforce) |
13 1 Go MAEDA
| @apiblueprint@ | Markdown based API description language. [aliases: apiblueprint,apib] |
14 10 Go MAEDA
| @applescript@ | The AppleScript scripting language by Apple Inc. (https://developer.apple.com/library/archive/documentation/AppleScript/Conceptual/AppleScriptLangGuide/introduction/ASLR_intro.html) [aliases: applescript] |
15 1 Go MAEDA
| @armasm@ | Arm assembly syntax |
16 9 Go MAEDA
| @augeas@ | The Augeas programming language (augeas.net) [aliases: aug] |
17 1 Go MAEDA
| @awk@ | pattern-directed scanning and processing language |
18
| @batchfile@ | Windows Batch File [aliases: bat,batch,dosbatch,winbatch] |
19 8 Go MAEDA
| @bbcbasic@ | BBC BASIC syntax |
20 9 Go MAEDA
| @bibtex@ | BibTeX [aliases: bib] |
21 1 Go MAEDA
| @biml@ | BIML, Business Intelligence Markup Language |
22
| @bpf@ | BPF bytecode syntax |
23 11 Go MAEDA
| @brainfuck@ | The Brainfuck programming language [aliases: bf] |
24 9 Go MAEDA
| @brightscript@ | BrightScript Programming Language (https://developer.roku.com/en-ca/docs/references/brightscript/language/brightscript-language-reference.md) [aliases: bs,brs] |
25 1 Go MAEDA
| @bsl@ | The 1C:Enterprise programming language |
26
| @c@ | The C programming language |
27
| @ceylon@ | Say more, more clearly. |
28
| @cfscript@ | CFScript, the CFML scripting language [aliases: cfc] |
29 10 Go MAEDA
| @cisco_ios@ | Cisco IOS configuration lexer |
30 8 Go MAEDA
| @clean@ | The Clean programming language (clean.cs.ru.nl) |
31 1 Go MAEDA
| @clojure@ | The Clojure programming language (clojure.org) [aliases: clj,cljs] |
32
| @cmake@ | The cross-platform, open-source build system |
33
| @cmhg@ | RISC OS C module header generator source file |
34 11 Go MAEDA
| @cobol@ | COBOL (Common Business-Oriented Language) programming language |
35 10 Go MAEDA
| @codeowners@ | Code Owners syntax (https://docs.gitlab.com/ee/user/project/codeowners/reference.html) |
36 1 Go MAEDA
| @coffeescript@ | The Coffeescript programming language (coffeescript.org) [aliases: coffee,coffee-script] |
37
| @common_lisp@ | The Common Lisp variant of Lisp (common-lisp.net) [aliases: cl,common-lisp,elisp,emacs-lisp,lisp] |
38
| @conf@ | A generic lexer for configuration files [aliases: config,configuration] |
39 10 Go MAEDA
| @console@ | A 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,terminal,shell_session,shell-session] |
40 1 Go MAEDA
| @coq@ | Coq (coq.inria.fr) |
41 10 Go MAEDA
| @cpp@ | The C++ programming language [aliases: c++,c++] |
42 1 Go MAEDA
| @crystal@ | Crystal The Programming Language (crystal-lang.org) [aliases: cr] |
43
| @csharp@ | a multi-paradigm language targeting .NET [aliases: c#,cs] |
44
| @css@ | Cascading Style Sheets, used to style web pages |
45
| @csvs@ | The CSV Schema Language (digital-preservation.github.io) |
46
| @cuda@ | Compute Unified Device Architecture, used for programming with NVIDIA GPU |
47 8 Go MAEDA
| @cypher@ | The Cypher query language (neo4j.com/docs/cypher-manual) [aliases: cypher] |
48 1 Go MAEDA
| @cython@ | Cython and Pyrex source code (cython.org) [aliases: pyx,pyrex] |
49
| @d@ | The D programming language(dlang.org) [aliases: dlang] |
50 10 Go MAEDA
| @dafny@ | The Dafny programming language (github.com/dafny-lang/dafny) |
51
| @dart@ | The Dart programming language (dart.dev) |
52 1 Go MAEDA
| @datastudio@ | Datastudio scripting language |
53
| @diff@ | Lexes unified diffs or patches [aliases: patch,udiff] |
54
| @digdag@ | A simple, open source, multi-cloud workflow engine (https://www.digdag.io/) |
55 11 Go MAEDA
| @docker@ | Dockerfile syntax [aliases: dockerfile,Dockerfile,containerfile,Containerfile] |
56 10 Go MAEDA
| @dot@ | graph description language [aliases: graphviz] |
57 9 Go MAEDA
| @ecl@ | Enterprise Control Language (hpccsystems.com) |
58 10 Go MAEDA
| @eex@ | Embedded Elixir [aliases: leex,heex] |
59 8 Go MAEDA
| @eiffel@ | Eiffel programming language |
60 1 Go MAEDA
| @elixir@ | Elixir language (elixir-lang.org) [aliases: elixir,exs] |
61
| @elm@ | The Elm programming language (http://elm-lang.org/) |
62
| @email@ | An email message [aliases: eml,e-mail] |
63 9 Go MAEDA
| @epp@ | Embedded Puppet template files |
64 8 Go MAEDA
| @erb@ | Embedded ruby template files [aliases: eruby,rhtml] |
65 1 Go MAEDA
| @erlang@ | The Erlang programming language (erlang.org) [aliases: erl] |
66
| @escape@ | A generic lexer for including escaped content - see Formatter.enable_escape! [aliases: esc] |
67
| @factor@ | Factor, the practical stack language (factorcode.org) |
68 10 Go MAEDA
| @fluent@ | Fluent localization files [aliases: ftl] |
69 1 Go MAEDA
| @fortran@ | Fortran 2008 (free-form) |
70 9 Go MAEDA
| @freefem@ | The FreeFEM programming language (freefem.org) [aliases: ff] |
71 1 Go MAEDA
| @fsharp@ | F# (fsharp.net) |
72
| @gdscript@ | The Godot Engine programming language (https://godotengine.org/) [aliases: gd,gdscript] |
73 9 Go MAEDA
| @ghc-cmm@ | GHC Cmm is the intermediate representation of the GHC Haskell compiler [aliases: cmm] |
74
| @ghc-core@ | Intermediate representation of the GHC Haskell compiler. |
75 8 Go MAEDA
| @gherkin@ | A business-readable spec DSL (github.com/cucumber/cucumber/wiki/Gherkin) [aliases: cucumber,behat] |
76 1 Go MAEDA
| @glsl@ | The GLSL shader language |
77
| @go@ | The Go programming language (http://golang.org) [aliases: go,golang] |
78
| @gradle@ | A powerful build system for the JVM |
79
| @graphql@ | GraphQL |
80 11 Go MAEDA
| @groovy@ | The Groovy programming language (http://www.groovy-lang.org/) [aliases: nextflow,nf,nextflow,nf] |
81 1 Go MAEDA
| @hack@ | The Hack programming language (hacklang.org) [aliases: hack,hh] |
82
| @haml@ | The Haml templating system for Ruby (haml.info) [aliases: HAML] |
83
| @handlebars@ | the Handlebars and Mustache templating languages [aliases: hbs,mustache] |
84
| @haskell@ | The Haskell programming language (haskell.org) [aliases: hs] |
85
| @haxe@ | Haxe Cross-platform Toolkit (http://haxe.org) [aliases: hx,haxe] |
86 8 Go MAEDA
| @hcl@ | Hashicorp Configuration Language, used by Terraform and other Hashicorp tools |
87 1 Go MAEDA
| @hlsl@ | HLSL, the High Level Shading Language for DirectX (docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl) |
88 9 Go MAEDA
| @hocon@ | Human-Optimized Config Object Notation (https://github.com/lightbend/config) |
89 8 Go MAEDA
| @hql@ | Hive Query Language SQL dialect |
90 1 Go MAEDA
| @html@ | HTML, the markup language of the web |
91
| @http@ | http requests and responses |
92
| @hylang@ | The HyLang programming language (hylang.org) [aliases: hy] |
93
| @idlang@ | Interactive Data Language |
94
| @idris@ | The Idris programming language (idris-lang.org) [aliases: idr] |
95 11 Go MAEDA
| @iecst@ | Structured text is a programming language for PLCs (programmable logic controllers). |
96 1 Go MAEDA
| @igorpro@ | WaveMetrics Igor Pro |
97
| @ini@ | the INI configuration format |
98
| @io@ | The IO programming language (http://iolanguage.com) |
99
| @irb@ | Shell sessions in IRB or Pry [aliases: pry] |
100 10 Go MAEDA
| @isabelle@ | Isabelle theories (isabelle.in.tum.de) [aliases: isa,Isabelle] |
101 9 Go MAEDA
| @isbl@ | The ISBL programming language |
102 1 Go MAEDA
| @j@ | The J programming language (jsoftware.com) |
103 9 Go MAEDA
| @janet@ | The Janet programming language (janet-lang.org) [aliases: jdn] |
104 1 Go MAEDA
| @java@ | The Java programming language (java.com) |
105 10 Go MAEDA
| @javascript@ | JavaScript, the browser scripting language [aliases: js,js] |
106 1 Go MAEDA
| @jinja@ | Django/Jinja template engine (jinja.pocoo.org) [aliases: django,django] |
107 10 Go MAEDA
| @jsl@ | The JMP Scripting Language (JSL) (jmp.com) |
108 1 Go MAEDA
| @json@ | JavaScript Object Notation (json.org) |
109 8 Go MAEDA
| @json-doc@ | JavaScript Object Notation with extensions for documentation [aliases: jsonc] |
110 11 Go MAEDA
| @json5@ | JSON 5 extension for JSON (json5.org) |
111 9 Go MAEDA
| @jsonnet@ | An elegant, formally-specified config language for JSON |
112 3 Go MAEDA
| @jsp@ | JSP |
113 10 Go MAEDA
| @jsx@ | An XML-like syntax extension to JavaScript (facebook.github.io/jsx/) [aliases: jsx,react,jsx,react] |
114 1 Go MAEDA
| @julia@ | The Julia programming language [aliases: jl] |
115
| @kotlin@ | Kotlin Programming Language (http://kotlinlang.org) |
116
| @lasso@ | The Lasso programming language (lassosoft.com) [aliases: lassoscript] |
117 10 Go MAEDA
| @lean@ | The Lean programming language (leanprover.github.io) [aliases: lean] |
118 1 Go MAEDA
| @liquid@ | Liquid is a templating engine for Ruby (liquidmarkup.org) |
119
| @literate_coffeescript@ | Literate coffeescript [aliases: litcoffee] |
120
| @literate_haskell@ | Literate haskell [aliases: lithaskell,lhaskell,lhs] |
121 9 Go MAEDA
| @livescript@ | LiveScript, a language which compiles to JavaScript (livescript.net) [aliases: ls] |
122 1 Go MAEDA
| @llvm@ | The LLVM Compiler Infrastructure (http://llvm.org/) |
123
| @lua@ | Lua (http://www.lua.org) |
124 8 Go MAEDA
| @lustre@ | The Lustre programming language (Verimag) |
125
| @lutin@ | The Lutin programming language (Verimag) |
126 1 Go MAEDA
| @m68k@ | Motorola 68k Assembler |
127
| @magik@ | Smallworld Magik |
128 8 Go MAEDA
| @make@ | Makefile syntax [aliases: makefile,mf,gnumake,bsdmake] |
129 10 Go MAEDA
| @markdown@ | Markdown, a light-weight markup language for authors [aliases: md,mkd,md,mkd] |
130 1 Go MAEDA
| @mason@ | The HTML::Mason framework (https://metacpan.org/pod/HTML::Mason) |
131 11 Go MAEDA
| @mathematica@ | Wolfram Mathematica, the world's definitive system for modern technical computing. [aliases: wl,wolfram] |
132 1 Go MAEDA
| @matlab@ | Matlab [aliases: m] |
133
| @meson@ | Meson's specification language (mesonbuild.com) |
134 10 Go MAEDA
| @minizinc@ | MiniZinc is a free and open-source constraint modeling language (minizinc.org) |
135 11 Go MAEDA
| @mojo@ | The Mojo programming language (modular.com) [aliases: mojo] |
136 1 Go MAEDA
| @moonscript@ | Moonscript (http://www.moonscript.org) [aliases: moon] |
137
| @mosel@ | An optimization language used by Fico's Xpress. |
138 8 Go MAEDA
| @msgtrans@ | RISC OS message translator messages file |
139 1 Go MAEDA
| @mxml@ | MXML |
140
| @nasm@ | Netwide Assembler |
141
| @nesasm@ | Nesasm3 assembly (6502 asm) [aliases: nes] |
142 9 Go MAEDA
| @nginx@ | configuration files for the nginx web server (nginx.org) |
143 10 Go MAEDA
| @nial@ | The Nial programming language (nial-array-language.org) |
144 1 Go MAEDA
| @nim@ | The Nim programming language (http://nim-lang.org/) [aliases: nimrod] |
145
| @nix@ | The Nix expression language (https://nixos.org/nix/manual/#ch-expression-language) [aliases: nixos] |
146 11 Go MAEDA
| @objective_c@ | an extension of C commonly used to write Apple software [aliases: objc,obj-c,obj_c,objectivec,objective-c] |
147 1 Go MAEDA
| @objective_cpp@ | an extension of C++ uncommonly used to write Apple software [aliases: objcpp,obj-cpp,obj_cpp,objectivecpp,objc++,obj-c++,obj_c++,objectivec++] |
148 9 Go MAEDA
| @ocaml@ | Objective Caml (ocaml.org) |
149 1 Go MAEDA
| @ocl@ | OMG Object Constraint Language (omg.org/spec/OCL) [aliases: OCL] |
150 9 Go MAEDA
| @openedge@ | The OpenEdge ABL programming language [aliases: abl] |
151 10 Go MAEDA
| @opentype_feature_file@ | Feature specifications for an OpenType font (adobe-type-tools.github.io/afdko) [aliases: fea,opentype,opentypefeature] |
152 11 Go MAEDA
| @p4@ | The P4 programming language |
153 1 Go MAEDA
| @pascal@ | a procedural programming language commonly used as a teaching language. |
154
| @perl@ | The Perl scripting language (perl.org) [aliases: pl] |
155 10 Go MAEDA
| @php@ | The PHP scripting language (php.net) [aliases: php,php3,php4,php5,php,php3,php4,php5] |
156 1 Go MAEDA
| @plaintext@ | A boring lexer that doesn't highlight anything [aliases: text] |
157
| @plist@ | plist [aliases: plist] |
158 10 Go MAEDA
| @plsql@ | Procedural Language Structured Query Language for Oracle relational database |
159 8 Go MAEDA
| @postscript@ | The PostScript language (adobe.com/devnet/postscript.html) [aliases: postscr,postscript,ps,eps] |
160 1 Go MAEDA
| @powershell@ | powershell [aliases: posh,microsoftshell,msshell] |
161
| @praat@ | The Praat scripting language (praat.org) |
162
| @prolog@ | The Prolog programming language (http://en.wikipedia.org/wiki/Prolog) [aliases: prolog] |
163
| @prometheus@ | prometheus [aliases: prometheus] |
164
| @properties@ | .properties config files for Java |
165
| @protobuf@ | Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data [aliases: proto] |
166
| @puppet@ | The Puppet configuration management language (puppetlabs.org) [aliases: pp] |
167 10 Go MAEDA
| @python@ | The Python programming language (python.org) [aliases: py,py] |
168 1 Go MAEDA
| @q@ | The Q programming language (kx.com) [aliases: kdb+] |
169
| @qml@ | QML, a UI markup language [aliases: qml] |
170
| @r@ | The R statistics language (r-project.org) [aliases: r,R,s,S] |
171
| @racket@ | Racket is a Lisp descended from Scheme (racket-lang.org) |
172
| @reasonml@ | New syntax on top of OCaml ecosystem (reasonml.github.io) |
173 9 Go MAEDA
| @rego@ | The Rego open-policy-agent (OPA) policy language (openpolicyagent.org) |
174
| @rescript@ | The ReScript programming language (rescript-lang.org) |
175 10 Go MAEDA
| @rml@ | A system agnostic domain-specific language for runtime monitoring and verification (https://rmlatdibris.github.io/) |
176 1 Go MAEDA
| @robot_framework@ | Robot Framework is a generic open source automation testing framework (robotframework.org) [aliases: robot,robot-framework] |
177 10 Go MAEDA
| @ruby@ | The Ruby programming language (ruby-lang.org) [aliases: rb,rb] |
178 1 Go MAEDA
| @rust@ | The Rust programming language (rust-lang.org) [aliases: rs,rust,no_run,rs,no_run,rust,ignore,rs,ignore,rust,should_panic,rs,should_panic] |
179
| @sas@ | SAS (Statistical Analysis Software) |
180
| @sass@ | The Sass stylesheet language language (sass-lang.com) |
181
| @scala@ | The Scala programming language (scala-lang.org) [aliases: scala] |
182
| @scheme@ | The Scheme variant of Lisp |
183
| @scss@ | SCSS stylesheets (sass-lang.com) |
184
| @sed@ | sed, the ultimate stream editor |
185
| @shell@ | Various shell languages, including sh and bash [aliases: bash,zsh,ksh,sh] |
186
| @sieve@ | mail filtering language |
187
| @slice@ | Specification Language for Ice (doc.zeroc.com) |
188
| @slim@ | The Slim template language |
189 9 Go MAEDA
| @smalltalk@ | The Smalltalk programming language [aliases: st,squeak] |
190 1 Go MAEDA
| @smarty@ | Smarty Template Engine [aliases: smarty] |
191
| @sml@ | Standard ML [aliases: ml] |
192
| @sparql@ | Semantic Query Language, for RDF data |
193
| @sqf@ | Status Quo Function, a Real Virtuality engine scripting language |
194
| @sql@ | Structured Query Language, for relational databases |
195
| @ssh@ | A lexer for SSH configuration files |
196 10 Go MAEDA
| @stan@ | Stan Modeling Language (mc-stan.org) |
197
| @stata@ | The Stata programming language (www.stata.com) |
198 1 Go MAEDA
| @supercollider@ | A cross-platform interpreted programming language for sound synthesis, algorithmic composition, and realtime performance |
199 10 Go MAEDA
| @svelte@ | Svelte single-file components (https://svelte.dev/) |
200 8 Go MAEDA
| @swift@ | Multi paradigm, compiled programming language developed by Apple for iOS and OS X development. (developer.apple.com/swift) |
201 1 Go MAEDA
| @systemd@ | A lexer for systemd unit files [aliases: unit-file] |
202 10 Go MAEDA
| @syzlang@ | Syscall description language used by syzkaller |
203
| @syzprog@ | Program description language used by syzkaller |
204 1 Go MAEDA
| @tap@ | Test Anything Protocol [aliases: tap] |
205
| @tcl@ | The Tool Command Language (tcl.tk) |
206
| @terraform@ | Terraform HCL Interpolations [aliases: tf] |
207
| @tex@ | The TeX typesetting system [aliases: TeX,LaTeX,latex] |
208 10 Go MAEDA
| @toml@ | the TOML configuration format (https://github.com/toml-lang/toml) |
209 1 Go MAEDA
| @tsx@ | TypeScript-compatible JSX (www.typescriptlang.org/docs/handbook/jsx.html) |
210 9 Go MAEDA
| @ttcn3@ | The TTCN3 programming language (ttcn-3.org) |
211 1 Go MAEDA
| @tulip@ | the tulip programming language (twitter.com/tuliplang) [aliases: tulip] |
212
| @turtle@ | Terse RDF Triple Language, TriG |
213
| @twig@ | Twig template engine (twig.sensiolabs.org) |
214 10 Go MAEDA
| @typescript@ | TypeScript, a superset of JavaScript (https://www.typescriptlang.org/) [aliases: ts] |
215 1 Go MAEDA
| @vala@ | A programming language similar to csharp. |
216
| @vb@ | Visual Basic [aliases: visualbasic] |
217 9 Go MAEDA
| @vcl@ | The configuration language for Varnish HTTP Cache (varnish-cache.org) [aliases: varnishconf,varnish] |
218
| @velocity@ | Velocity is a Java-based template engine (velocity.apache.org) |
219 1 Go MAEDA
| @verilog@ | The System Verilog hardware description language |
220
| @vhdl@ | Very High Speed Integrated Circuit Hardware Description Language |
221
| @viml@ | VimL, the scripting language for the Vim editor (vim.org) [aliases: vim,vimscript,ex] |
222
| @vue@ | Vue.js single-file components [aliases: vuejs] |
223
| @wollok@ | Wollok lang |
224
| @xml@ | <desc for="this-lexer">XML</desc> |
225
| @xojo@ | Xojo [aliases: realbasic] |
226
| @xpath@ | XML Path Language (XPath) 3.1 |
227 8 Go MAEDA
| @xquery@ | XQuery 3.1: An XML Query Language |
228 10 Go MAEDA
| @yaml@ | Yaml Ain't Markup Language (yaml.org) [aliases: yml,yml] |
229 9 Go MAEDA
| @yang@ | Lexer for the YANG 1.1 modeling language (RFC7950) |
230
| @zig@ | The Zig programming language (ziglang.org) [aliases: zir] |
231 1 Go MAEDA
232
233
{{collapse(Note for the wiki maintainers)
234
The table above can be generated by running the following command.
235
<pre>
236
bundle exec rougify list | ruby -nle 'if $_ =~ /^([a-z0-9_-]+): (.+)/ ; puts "| @#{$1}@ | #{$2} |"; end'
237
</pre>
238
}}