Project

General

Profile

RedmineCodeHighlightingLanguages » History » Version 9

Go MAEDA, 2021-09-08 15:35

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 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
|_. 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
| @applescript@ | The AppleScript scripting language by Apple Inc. (http://developer.apple.com/applescript/) [aliases: applescript] |
15
| @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 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
| @c@ | The C programming language |
27
| @ceylon@ | Say more, more clearly. |
28
| @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
| @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
| @cpp@ | The C++ programming language [aliases: c++] |
39
| @crystal@ | Crystal The Programming Language (crystal-lang.org) [aliases: cr] |
40
| @csharp@ | a multi-paradigm language targeting .NET [aliases: c#,cs] |
41
| @css@ | Cascading Style Sheets, used to style web pages |
42
| @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
| @d@ | The D programming language(dlang.org) [aliases: dlang] |
47
| @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
| @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
| @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
| @erlang@ | The Erlang programming language (erlang.org) [aliases: erl] |
62
| @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
| @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
| @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
| @go@ | The Go programming language (http://golang.org) [aliases: go,golang] |
73
| @gradle@ | A powerful build system for the JVM |
74
| @graphql@ | GraphQL |
75
| @groovy@ | The Groovy programming language (http://www.groovy-lang.org/) |
76
| @hack@ | The Hack programming language (hacklang.org) [aliases: hack,hh] |
77
| @haml@ | The Haml templating system for Ruby (haml.info) [aliases: HAML] |
78
| @handlebars@ | the Handlebars and Mustache templating languages [aliases: hbs,mustache] |
79
| @haskell@ | The Haskell programming language (haskell.org) [aliases: hs] |
80
| @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
| @html@ | HTML, the markup language of the web |
86
| @http@ | http requests and responses |
87
| @hylang@ | The HyLang programming language (hylang.org) [aliases: hy] |
88
| @idlang@ | Interactive Data Language |
89
| @igorpro@ | WaveMetrics Igor Pro |
90
| @ini@ | the INI configuration format |
91
| @io@ | The IO programming language (http://iolanguage.com) |
92
| @irb@ | Shell sessions in IRB or Pry [aliases: pry] |
93 9 Go MAEDA
| @isbl@ | The ISBL programming language |
94
| @j@ | The J programming language (jsoftware.com) |
95
| @janet@ | The Janet programming language (janet-lang.org) [aliases: jdn] |
96 1 Go MAEDA
| @java@ | The Java programming language (java.com) |
97
| @javascript@ | JavaScript, the browser scripting language [aliases: js] |
98
| @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
| @kotlin@ | Kotlin Programming Language (http://kotlinlang.org) |
107
| @lasso@ | The Lasso programming language (lassosoft.com) [aliases: lassoscript] |
108
| @liquid@ | Liquid is a templating engine for Ruby (liquidmarkup.org) |
109
| @literate_coffeescript@ | Literate coffeescript [aliases: litcoffee] |
110
| @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
| @lua@ | Lua (http://www.lua.org) |
114 8 Go MAEDA
| @lustre@ | The Lustre programming language (Verimag) |
115
| @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
| @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
| @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
| @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
| @nim@ | The Nim programming language (http://nim-lang.org/) [aliases: nimrod] |
132
| @nix@ | The Nix expression language (https://nixos.org/nix/manual/#ch-expression-language) [aliases: nixos] |
133
| @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
| @php@ | The PHP scripting language (php.net) [aliases: php,php3,php4,php5] |
142
| @plaintext@ | A boring lexer that doesn't highlight anything [aliases: text] |
143
| @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
| @prolog@ | The Prolog programming language (http://en.wikipedia.org/wiki/Prolog) [aliases: prolog] |
148
| @prometheus@ | prometheus [aliases: prometheus] |
149
| @properties@ | .properties config files for Java |
150
| @protobuf@ | Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data [aliases: proto] |
151
| @puppet@ | The Puppet configuration management language (puppetlabs.org) [aliases: pp] |
152
| @python@ | The Python programming language (python.org) [aliases: py] |
153
| @q@ | The Q programming language (kx.com) [aliases: kdb+] |
154
| @qml@ | QML, a UI markup language [aliases: qml] |
155
| @r@ | The R statistics language (r-project.org) [aliases: r,R,s,S] |
156
| @racket@ | Racket is a Lisp descended from Scheme (racket-lang.org) |
157
| @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
| @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
| @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
| @sass@ | The Sass stylesheet language language (sass-lang.com) |
165
| @scala@ | The Scala programming language (scala-lang.org) [aliases: scala] |
166
| @scheme@ | The Scheme variant of Lisp |
167
| @scss@ | SCSS stylesheets (sass-lang.com) |
168
| @sed@ | sed, the ultimate stream editor |
169
| @shell@ | Various shell languages, including sh and bash [aliases: bash,zsh,ksh,sh] |
170
| @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
| @smalltalk@ | The Smalltalk programming language [aliases: st,squeak] |
174
| @smarty@ | Smarty Template Engine [aliases: smarty] |
175
| @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
| @tcl@ | The Tool Command Language (tcl.tk) |
186
| @terraform@ | Terraform HCL Interpolations [aliases: tf] |
187
| @tex@ | The TeX typesetting system [aliases: TeX,LaTeX,latex] |
188
| @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
| @ttcn3@ | The TTCN3 programming language (ttcn-3.org) |
191 1 Go MAEDA
| @tulip@ | the tulip programming language (twitter.com/tuliplang) [aliases: tulip] |
192
| @turtle@ | Terse RDF Triple Language, TriG |
193
| @twig@ | Twig template engine (twig.sensiolabs.org) |
194
| @typescript@ | TypeScript, a superset of JavaScript [aliases: ts] |
195
| @vala@ | A programming language similar to csharp. |
196
| @vb@ | Visual Basic [aliases: visualbasic] |
197 9 Go MAEDA
| @vcl@ | The configuration language for Varnish HTTP Cache (varnish-cache.org) [aliases: varnishconf,varnish] |
198
| @velocity@ | Velocity is a Java-based template engine (velocity.apache.org) |
199 1 Go MAEDA
| @verilog@ | The System Verilog hardware description language |
200
| @vhdl@ | Very High Speed Integrated Circuit Hardware Description Language |
201
| @viml@ | VimL, the scripting language for the Vim editor (vim.org) [aliases: vim,vimscript,ex] |
202
| @vue@ | Vue.js single-file components [aliases: vuejs] |
203
| @wollok@ | Wollok lang |
204
| @xml@ | <desc for="this-lexer">XML</desc> |
205
| @xojo@ | Xojo [aliases: realbasic] |
206
| @xpath@ | XML Path Language (XPath) 3.1 |
207 8 Go MAEDA
| @xquery@ | XQuery 3.1: An XML Query Language |
208
| @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
| @zig@ | The Zig programming language (ziglang.org) [aliases: zir] |
211 1 Go MAEDA
212
213
{{collapse(Note for the wiki maintainers)
214
The table above can be generated by running the following command.
215
<pre>
216
bundle exec rougify list | ruby -nle 'if $_ =~ /^([a-z0-9_-]+): (.+)/ ; puts "| @#{$1}@ | #{$2} |"; end'
217
</pre>
218
}}