RedmineCodeHighlightingLanguages » History » Version 8
Go MAEDA, 2019-11-14 15:27
Update the table for Redmine 4.1.0 (Rouge 3.12.0)
1 | 1 | Go MAEDA | h1. Code highlighting supported languages |
---|---|---|---|
2 | |||
3 | 8 | Go MAEDA | Default code highlighting relies on "Rouge":http://rouge.jneen.net/ since Redmine 4.0.0. It supports over 170 languages. Refer [[RedmineTextFormattingTextile#Code-highlighting]] or [[RedmineTextFormattingMarkdown#Code-highlighting]] for how to highlight code. |
4 | 1 | Go MAEDA | |
5 | 8 | Go MAEDA | Here is a list of supported languages by Rouge 3.12.0, which is bundled with Redmine 4.1.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 | 8 | Go MAEDA | | @armasm@ | Arm assembly syntax | |
16 | 1 | Go MAEDA | | @awk@ | pattern-directed scanning and processing language | |
17 | 8 | Go MAEDA | | @batchfile@ | Windows Batch File [aliases: bat,batch,dosbatch,winbatch] | |
18 | | @bbcbasic@ | BBC BASIC syntax | |
||
19 | 1 | Go MAEDA | | @biml@ | BIML, Business Intelligence Markup Language | |
20 | 8 | Go MAEDA | | @bpf@ | BPF bytecode syntax | |
21 | | @brainfuck@ | The Brainfuck programming language | |
||
22 | 1 | Go MAEDA | | @bsl@ | The 1C:Enterprise programming language | |
23 | | @c@ | The C programming language | |
||
24 | | @ceylon@ | Say more, more clearly. | |
||
25 | | @cfscript@ | CFScript, the CFML scripting language [aliases: cfc] | |
||
26 | 8 | Go MAEDA | | @clean@ | The Clean programming language (clean.cs.ru.nl) | |
27 | 1 | Go MAEDA | | @clojure@ | The Clojure programming language (clojure.org) [aliases: clj,cljs] | |
28 | | @cmake@ | The cross-platform, open-source build system | |
||
29 | 8 | Go MAEDA | | @cmhg@ | RISC OS C module header generator source file | |
30 | 1 | Go MAEDA | | @coffeescript@ | The Coffeescript programming language (coffeescript.org) [aliases: coffee,coffee-script] | |
31 | 8 | Go MAEDA | | @common_lisp@ | The Common Lisp variant of Lisp (common-lisp.net) [aliases: cl,common-lisp,elisp,emacs-lisp,lisp] | |
32 | 1 | Go MAEDA | | @conf@ | A generic lexer for configuration files [aliases: config,configuration] | |
33 | | @console@ | A generic lexer for shell sessions. Accepts ?lang and ?output lexer options, a ?prompt option, and ?comments to enable # comments. [aliases: terminal,shell_session,shell-session] | |
||
34 | | @coq@ | Coq (coq.inria.fr) | |
||
35 | | @cpp@ | The C++ programming language [aliases: c++] | |
||
36 | | @crystal@ | Crystal The Programming Language (crystal-lang.org) [aliases: cr] | |
||
37 | | @csharp@ | a multi-paradigm language targeting .NET [aliases: c#,cs] | |
||
38 | | @css@ | Cascading Style Sheets, used to style web pages | |
||
39 | 8 | Go MAEDA | | @csvs@ | The CSV Schema Language (digital-preservation.github.io) | |
40 | | @cuda@ | Compute Unified Device Architecture, used for programming with NVIDIA GPU | |
||
41 | | @cython@ | Cython and Pyrex source code (cython.org) [aliases: pyx,pyrex] | |
||
42 | 1 | Go MAEDA | | @d@ | The D programming language(dlang.org) [aliases: dlang] | |
43 | | @dart@ | The Dart programming language (dartlang.com) | |
||
44 | | @diff@ | Lexes unified diffs or patches [aliases: patch,udiff] | |
||
45 | | @digdag@ | A simple, open source, multi-cloud workflow engine (https://www.digdag.io/) | |
||
46 | | @docker@ | Dockerfile syntax [aliases: dockerfile] | |
||
47 | | @dot@ | graph description language | |
||
48 | 8 | Go MAEDA | | @eex@ | Embedded Elixir [aliases: leex] | |
49 | 1 | Go MAEDA | | @eiffel@ | Eiffel programming language | |
50 | | @elixir@ | Elixir language (elixir-lang.org) [aliases: elixir,exs] | |
||
51 | | @elm@ | The Elm programming language (http://elm-lang.org/) | |
||
52 | 8 | Go MAEDA | | @epp@ | Embedded Puppet template files | |
53 | 1 | Go MAEDA | | @erb@ | Embedded ruby template files [aliases: eruby,rhtml] | |
54 | | @erlang@ | The Erlang programming language (erlang.org) [aliases: erl] | |
||
55 | 8 | Go MAEDA | | @escape@ | A generic lexer for including escaped content - see Formatter.enable_escape! [aliases: esc] | |
56 | 1 | Go MAEDA | | @factor@ | Factor, the practical stack language (factorcode.org) | |
57 | | @fortran@ | Fortran 2008 (free-form) | |
||
58 | | @fsharp@ | F# (fsharp.net) | |
||
59 | 8 | Go MAEDA | | @gdscript@ | The Godot Engine programming language (https://godotengine.org/) [aliases: gd,gdscript] | |
60 | | @gherkin@ | A business-readable spec DSL (github.com/cucumber/cucumber/wiki/Gherkin) [aliases: cucumber,behat] | |
||
61 | 1 | Go MAEDA | | @glsl@ | The GLSL shader language | |
62 | | @go@ | The Go programming language (http://golang.org) [aliases: go,golang] | |
||
63 | | @gradle@ | A powerful build system for the JVM | |
||
64 | | @graphql@ | GraphQL | |
||
65 | | @groovy@ | The Groovy programming language (http://www.groovy-lang.org/) | |
||
66 | | @hack@ | The Hack programming language (hacklang.org) [aliases: hack,hh] | |
||
67 | | @haml@ | The Haml templating system for Ruby (haml.info) [aliases: HAML] | |
||
68 | | @handlebars@ | the Handlebars and Mustache templating languages [aliases: hbs,mustache] | |
||
69 | | @haskell@ | The Haskell programming language (haskell.org) [aliases: hs] | |
||
70 | 8 | Go MAEDA | | @haxe@ | Haxe Cross-platform Toolkit (http://haxe.org) [aliases: hx,haxe] | |
71 | 1 | Go MAEDA | | @hcl@ | Hashicorp Configuration Language, used by Terraform and other Hashicorp tools | |
72 | 8 | Go MAEDA | | @hocon@ | Human-Optimized Config Object Notation (https://github.com/lightbend/config) | |
73 | | @hql@ | Hive Query Language SQL dialect | |
||
74 | 1 | Go MAEDA | | @html@ | HTML, the markup language of the web | |
75 | | @http@ | http requests and responses | |
||
76 | | @hylang@ | The HyLang programming language (hylang.org) [aliases: hy] | |
||
77 | | @idlang@ | Interactive Data Language | |
||
78 | | @igorpro@ | WaveMetrics Igor Pro | |
||
79 | | @ini@ | the INI configuration format | |
||
80 | | @io@ | The IO programming language (http://iolanguage.com) | |
||
81 | | @irb@ | Shell sessions in IRB or Pry [aliases: pry] | |
||
82 | | @java@ | The Java programming language (java.com) | |
||
83 | | @javascript@ | JavaScript, the browser scripting language [aliases: js] | |
||
84 | | @jinja@ | Django/Jinja template engine (jinja.pocoo.org) [aliases: django] | |
||
85 | 8 | Go MAEDA | | @jsl@ | The JMP Scripting Language (JSL) (jmp.com) | |
86 | 1 | Go MAEDA | | @json@ | JavaScript Object Notation (json.org) | |
87 | | @json-doc@ | JavaScript Object Notation with extenstions for documentation | |
||
88 | | @jsonnet@ | An elegant, formally-specified config language for JSON | |
||
89 | 3 | Go MAEDA | | @jsp@ | JSP | |
90 | 1 | Go MAEDA | | @jsx@ | React JSX (https://facebook.github.io/react/) [aliases: jsx,react] | |
91 | | @julia@ | The Julia programming language [aliases: jl] | |
||
92 | | @kotlin@ | Kotlin Programming Language (http://kotlinlang.org) | |
||
93 | | @lasso@ | The Lasso programming language (lassosoft.com) [aliases: lassoscript] | |
||
94 | | @liquid@ | Liquid is a templating engine for Ruby (liquidmarkup.org) | |
||
95 | | @literate_coffeescript@ | Literate coffeescript [aliases: litcoffee] | |
||
96 | | @literate_haskell@ | Literate haskell [aliases: lithaskell,lhaskell,lhs] | |
||
97 | | @llvm@ | The LLVM Compiler Infrastructure (http://llvm.org/) | |
||
98 | | @lua@ | Lua (http://www.lua.org) | |
||
99 | 8 | Go MAEDA | | @lustre@ | The Lustre programming language (Verimag) | |
100 | | @lutin@ | The Lutin programming language (Verimag) | |
||
101 | 1 | Go MAEDA | | @m68k@ | Motorola 68k Assembler | |
102 | 8 | Go MAEDA | | @magik@ | Smallworld Magik | |
103 | 1 | Go MAEDA | | @make@ | Makefile syntax [aliases: makefile,mf,gnumake,bsdmake] | |
104 | | @markdown@ | Markdown, a light-weight markup language for authors [aliases: md,mkd] | |
||
105 | 8 | Go MAEDA | | @mason@ | The HTML::Mason framework (https://metacpan.org/pod/HTML::Mason) | |
106 | 3 | Go MAEDA | | @mathematica@ | Wolfram Mathematica, the world's definitive system for modern technical computing. [aliases: wl] | |
107 | 1 | Go MAEDA | | @matlab@ | Matlab [aliases: m] | |
108 | 8 | Go MAEDA | | @minizinc@ | MiniZinc is a free and open-source constraint modeling language (minizinc.org) | |
109 | 1 | Go MAEDA | | @moonscript@ | Moonscript (http://www.moonscript.org) [aliases: moon] | |
110 | | @mosel@ | An optimization language used by Fico's Xpress. | |
||
111 | 8 | Go MAEDA | | @msgtrans@ | RISC OS message translator messages file | |
112 | 1 | Go MAEDA | | @mxml@ | MXML | |
113 | | @nasm@ | Netwide Assembler | |
||
114 | | @nginx@ | configuration files for the nginx web server (nginx.org) | |
||
115 | | @nim@ | The Nim programming language (http://nim-lang.org/) [aliases: nimrod] | |
||
116 | | @nix@ | The Nix expression language (https://nixos.org/nix/manual/#ch-expression-language) [aliases: nixos] | |
||
117 | | @objective_c@ | an extension of C commonly used to write Apple software [aliases: objc,obj-c,obj_c,objectivec] | |
||
118 | 3 | Go MAEDA | | @ocaml@ | Objective Caml (ocaml.org) | |
119 | 8 | Go MAEDA | | @openedge@ | The OpenEdge ABL programming language | |
120 | | @opentype_feature_file@ | Feature specifications for an OpenType font (adobe-type-tools.github.io/afdko) [aliases: fea,opentype,opentypefeature] | |
||
121 | 1 | Go MAEDA | | @pascal@ | a procedural programming language commonly used as a teaching language. | |
122 | | @perl@ | The Perl scripting language (perl.org) [aliases: pl] | |
||
123 | | @php@ | The PHP scripting language (php.net) [aliases: php,php3,php4,php5] | |
||
124 | | @plaintext@ | A boring lexer that doesn't highlight anything [aliases: text] | |
||
125 | | @plist@ | plist [aliases: plist] | |
||
126 | 8 | Go MAEDA | | @powershell@ | powershell [aliases: posh,microsoftshell,msshell] | |
127 | 1 | Go MAEDA | | @praat@ | The Praat scripting language (praat.org) | |
128 | | @prolog@ | The Prolog programming language (http://en.wikipedia.org/wiki/Prolog) [aliases: prolog] | |
||
129 | | @prometheus@ | prometheus [aliases: prometheus] | |
||
130 | | @properties@ | .properties config files for Java | |
||
131 | | @protobuf@ | Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data [aliases: proto] | |
||
132 | | @puppet@ | The Puppet configuration management language (puppetlabs.org) [aliases: pp] | |
||
133 | | @python@ | The Python programming language (python.org) [aliases: py] | |
||
134 | | @q@ | The Q programming language (kx.com) [aliases: kdb+] | |
||
135 | | @qml@ | QML, a UI markup language [aliases: qml] | |
||
136 | | @r@ | The R statistics language (r-project.org) [aliases: r,R,s,S] | |
||
137 | | @racket@ | Racket is a Lisp descended from Scheme (racket-lang.org) | |
||
138 | 8 | Go MAEDA | | @reasonml@ | New syntax on top of OCaml ecosystem (reasonml.github.io) | |
139 | | @robot_framework@ | Robot Framework is a generic open source automation testing framework (robotframework.org) [aliases: robot,robot-framework] | |
||
140 | 1 | Go MAEDA | | @ruby@ | The Ruby programming language (ruby-lang.org) [aliases: rb] | |
141 | | @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] | |
||
142 | 8 | Go MAEDA | | @sas@ | SAS (Statistical Analysis Software) | |
143 | 1 | Go MAEDA | | @sass@ | The Sass stylesheet language language (sass-lang.com) | |
144 | | @scala@ | The Scala programming language (scala-lang.org) [aliases: scala] | |
||
145 | | @scheme@ | The Scheme variant of Lisp | |
||
146 | | @scss@ | SCSS stylesheets (sass-lang.com) | |
||
147 | | @sed@ | sed, the ultimate stream editor | |
||
148 | | @shell@ | Various shell languages, including sh and bash [aliases: bash,zsh,ksh,sh] | |
||
149 | | @sieve@ | mail filtering language | |
||
150 | | @slim@ | The Slim template language | |
||
151 | | @smalltalk@ | The Smalltalk programming language [aliases: st,squeak] | |
||
152 | | @smarty@ | Smarty Template Engine [aliases: smarty] | |
||
153 | | @sml@ | Standard ML [aliases: ml] | |
||
154 | 8 | Go MAEDA | | @sparql@ | Semantic Query Language, for RDF data | |
155 | 1 | Go MAEDA | | @sqf@ | Status Quo Function, a Real Virtuality engine scripting language | |
156 | 3 | Go MAEDA | | @sql@ | Structured Query Language, for relational databases | |
157 | 8 | Go MAEDA | | @supercollider@ | A cross-platform interpreted programming language for sound synthesis, algorithmic composition, and realtime performance | |
158 | 1 | Go MAEDA | | @swift@ | Multi paradigm, compiled programming language developed by Apple for iOS and OS X development. (developer.apple.com/swift) | |
159 | | @tap@ | Test Anything Protocol [aliases: tap] | |
||
160 | | @tcl@ | The Tool Command Language (tcl.tk) | |
||
161 | | @terraform@ | Terraform HCL Interpolations [aliases: tf] | |
||
162 | | @tex@ | The TeX typesetting system [aliases: TeX,LaTeX,latex] | |
||
163 | | @toml@ | the TOML configuration format (https://github.com/mojombo/toml) | |
||
164 | | @tsx@ | tsx | |
||
165 | | @tulip@ | the tulip programming language (twitter.com/tuliplang) [aliases: tulip] | |
||
166 | | @turtle@ | Terse RDF Triple Language, TriG | |
||
167 | | @twig@ | Twig template engine (twig.sensiolabs.org) | |
||
168 | | @typescript@ | TypeScript, a superset of JavaScript [aliases: ts] | |
||
169 | | @vala@ | A programming language similar to csharp. | |
||
170 | | @vb@ | Visual Basic [aliases: visualbasic] | |
||
171 | | @verilog@ | The System Verilog hardware description language | |
||
172 | | @vhdl@ | Very High Speed Integrated Circuit Hardware Description Language | |
||
173 | | @viml@ | VimL, the scripting language for the Vim editor (vim.org) [aliases: vim,vimscript,ex] | |
||
174 | | @vue@ | Vue.js single-file components [aliases: vuejs] | |
||
175 | | @wollok@ | Wollok lang | |
||
176 | | @xml@ | <desc for="this-lexer">XML</desc> | |
||
177 | 8 | Go MAEDA | | @xojo@ | Xojo [aliases: realbasic] | |
178 | | @xpath@ | XML Path Language (XPath) 3.1 | |
||
179 | | @xquery@ | XQuery 3.1: An XML Query Language | |
||
180 | 1 | Go MAEDA | | @yaml@ | Yaml Ain't Markup Language (yaml.org) [aliases: yml] | |
181 | |||
182 | |||
183 | {{collapse(Note for the wiki maintainers) |
||
184 | The table above can be generated by running the following command. |
||
185 | <pre> |
||
186 | bundle exec rougify list | ruby -nle 'if $_ =~ /^([a-z0-9_-]+): (.+)/ ; puts "| @#{$1}@ | #{$2} |"; end' |
||
187 | </pre> |
||
188 | }} |