RedmineCodeHighlightingLanguages » History » Version 9

Go MAEDA, 2021-09-08 15:35

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