Project

General

Profile

RedmineCodeHighlightingLanguages » History » Version 2

Go MAEDA, 2018-09-30 16:35
Fixed the number of supported languages.

1 1 Go MAEDA
h1. Code highlighting supported languages
2
3 2 Go MAEDA
Default code highlighting relies on "Rouge":http://rouge.jneen.net/ since Redmine 4.0.0. It supports over 130 languages.
4 1 Go MAEDA
5
Here is a list of supported languages by Rouge 3.2.1, which is bundled with Redmine 4.0.0. You can also get a list of running @bundle exec rougify list@ in the installation directory of Redmine.
6
7
|_. Language |_. Description |
8
| @abap@ | SAP - Advanced Business Application Programming |
9
| @actionscript@ | ActionScript [aliases: as,as3] |
10
| @apache@ | configuration files for Apache web server |
11
| @apiblueprint@ | Markdown based API description language. [aliases: apiblueprint,apib] |
12
| @applescript@ | The AppleScript scripting language by Apple Inc. (http://developer.apple.com/applescript/) [aliases: applescript] |
13
| @awk@ | pattern-directed scanning and processing language |
14
| @biml@ | BIML, Business Intelligence Markup Language |
15
| @bsl@ | The 1C:Enterprise programming language |
16
| @c@ | The C programming language |
17
| @ceylon@ | Say more, more clearly. |
18
| @cfscript@ | CFScript, the CFML scripting language [aliases: cfc] |
19
| @clojure@ | The Clojure programming language (clojure.org) [aliases: clj,cljs] |
20
| @cmake@ | The cross-platform, open-source build system |
21
| @coffeescript@ | The Coffeescript programming language (coffeescript.org) [aliases: coffee,coffee-script] |
22
| @common_lisp@ | The Common Lisp variant of Lisp (common-lisp.net) [aliases: cl,common-lisp,elisp,emacs-lisp] |
23
| @conf@ | A generic lexer for configuration files [aliases: config,configuration] |
24
| @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] |
25
| @coq@ | Coq (coq.inria.fr) |
26
| @cpp@ | The C++ programming language [aliases: c++] |
27
| @crystal@ | Crystal The Programming Language (crystal-lang.org) [aliases: cr] |
28
| @csharp@ | a multi-paradigm language targeting .NET [aliases: c#,cs] |
29
| @css@ | Cascading Style Sheets, used to style web pages |
30
| @d@ | The D programming language(dlang.org) [aliases: dlang] |
31
| @dart@ | The Dart programming language (dartlang.com) |
32
| @diff@ | Lexes unified diffs or patches [aliases: patch,udiff] |
33
| @digdag@ | A simple, open source, multi-cloud workflow engine (https://www.digdag.io/) |
34
| @docker@ | Dockerfile syntax [aliases: dockerfile] |
35
| @dot@ | graph description language |
36
| @eiffel@ | Eiffel programming language |
37
| @elixir@ | Elixir language (elixir-lang.org) [aliases: elixir,exs] |
38
| @elm@ | The Elm programming language (http://elm-lang.org/) |
39
| @erb@ | Embedded ruby template files [aliases: eruby,rhtml] |
40
| @erlang@ | The Erlang programming language (erlang.org) [aliases: erl] |
41
| @factor@ | Factor, the practical stack language (factorcode.org) |
42
| @fortran@ | Fortran 2008 (free-form) |
43
| @fsharp@ | F# (fsharp.net) |
44
| @gherkin@ | A business-readable spec DSL ( github.com/cucumber/cucumber/wiki/Gherkin ) [aliases: cucumber,behat] |
45
| @glsl@ | The GLSL shader language |
46
| @go@ | The Go programming language (http://golang.org) [aliases: go,golang] |
47
| @gradle@ | A powerful build system for the JVM |
48
| @graphql@ | GraphQL |
49
| @groovy@ | The Groovy programming language (http://www.groovy-lang.org/) |
50
| @hack@ | The Hack programming language (hacklang.org) [aliases: hack,hh] |
51
| @haml@ | The Haml templating system for Ruby (haml.info) [aliases: HAML] |
52
| @handlebars@ | the Handlebars and Mustache templating languages [aliases: hbs,mustache] |
53
| @haskell@ | The Haskell programming language (haskell.org) [aliases: hs] |
54
| @hcl@ | Hashicorp Configuration Language, used by Terraform and other Hashicorp tools |
55
| @html@ | HTML, the markup language of the web |
56
| @http@ | http requests and responses |
57
| @hylang@ | The HyLang programming language (hylang.org) [aliases: hy] |
58
| @idlang@ | Interactive Data Language |
59
| @igorpro@ | WaveMetrics Igor Pro |
60
| @ini@ | the INI configuration format |
61
| @io@ | The IO programming language (http://iolanguage.com) |
62
| @irb@ | Shell sessions in IRB or Pry [aliases: pry] |
63
| @java@ | The Java programming language (java.com) |
64
| @javascript@ | JavaScript, the browser scripting language [aliases: js] |
65
| @jinja@ | Django/Jinja template engine (jinja.pocoo.org) [aliases: django] |
66
| @json@ | JavaScript Object Notation (json.org) |
67
| @json-doc@ | JavaScript Object Notation with extenstions for documentation |
68
| @jsonnet@ | An elegant, formally-specified config language for JSON |
69
| @jsx@ | React JSX (https://facebook.github.io/react/) [aliases: jsx,react] |
70
| @julia@ | The Julia programming language [aliases: jl] |
71
| @kotlin@ | Kotlin Programming Language (http://kotlinlang.org) |
72
| @lasso@ | The Lasso programming language (lassosoft.com) [aliases: lassoscript] |
73
| @liquid@ | Liquid is a templating engine for Ruby (liquidmarkup.org) |
74
| @literate_coffeescript@ | Literate coffeescript [aliases: litcoffee] |
75
| @literate_haskell@ | Literate haskell [aliases: lithaskell,lhaskell,lhs] |
76
| @llvm@ | The LLVM Compiler Infrastructure (http://llvm.org/) |
77
| @lua@ | Lua (http://www.lua.org) |
78
| @make@ | Makefile syntax [aliases: makefile,mf,gnumake,bsdmake] |
79
| @markdown@ | Markdown, a light-weight markup language for authors [aliases: md,mkd] |
80
| @matlab@ | Matlab [aliases: m] |
81
| @moonscript@ | Moonscript (http://www.moonscript.org) [aliases: moon] |
82
| @mosel@ | An optimization language used by Fico's Xpress. |
83
| @mxml@ | MXML |
84
| @nasm@ | Netwide Assembler |
85
| @nginx@ | configuration files for the nginx web server (nginx.org) |
86
| @nim@ | The Nim programming language (http://nim-lang.org/) [aliases: nimrod] |
87
| @nix@ | The Nix expression language (https://nixos.org/nix/manual/#ch-expression-language) [aliases: nixos] |
88
| @objective_c@ | an extension of C commonly used to write Apple software [aliases: objc,obj-c,obj_c] |
89
| @ocaml@ | Objective Caml (ocaml.org) |
90
| @pascal@ | a procedural programming language commonly used as a teaching language. |
91
| @perl@ | The Perl scripting language (perl.org) [aliases: pl] |
92
| @php@ | The PHP scripting language (php.net) [aliases: php,php3,php4,php5] |
93
| @plaintext@ | A boring lexer that doesn't highlight anything [aliases: text] |
94
| @plist@ | plist [aliases: plist] |
95
| @powershell@ | powershell [aliases: posh] |
96
| @praat@ | The Praat scripting language (praat.org) |
97
| @prolog@ | The Prolog programming language (http://en.wikipedia.org/wiki/Prolog) [aliases: prolog] |
98
| @prometheus@ | prometheus [aliases: prometheus] |
99
| @properties@ | .properties config files for Java |
100
| @protobuf@ | Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data [aliases: proto] |
101
| @puppet@ | The Puppet configuration management language (puppetlabs.org) [aliases: pp] |
102
| @python@ | The Python programming language (python.org) [aliases: py] |
103
| @q@ | The Q programming language (kx.com) [aliases: kdb+] |
104
| @qml@ | QML, a UI markup language [aliases: qml] |
105
| @r@ | The R statistics language (r-project.org) [aliases: r,R,s,S] |
106
| @racket@ | Racket is a Lisp descended from Scheme (racket-lang.org) |
107
| @ruby@ | The Ruby programming language (ruby-lang.org) [aliases: rb] |
108
| @rust@ | The Rust programming language (rust-lang.org) [aliases: rs] |
109
| @sass@ | The Sass stylesheet language language (sass-lang.com) |
110
| @scala@ | The Scala programming language (scala-lang.org) [aliases: scala] |
111
| @scheme@ | The Scheme variant of Lisp |
112
| @scss@ | SCSS stylesheets (sass-lang.com) |
113
| @sed@ | sed, the ultimate stream editor |
114
| @shell@ | Various shell languages, including sh and bash [aliases: bash,zsh,ksh,sh] |
115
| @sieve@ | mail filtering language |
116
| @slim@ | The Slim template language |
117
| @smalltalk@ | The Smalltalk programming language [aliases: st,squeak] |
118
| @smarty@ | Smarty Template Engine [aliases: smarty] |
119
| @sml@ | Standard ML [aliases: ml] |
120
| @sql@ | Structured Query Language, for relational databases |
121
| @swift@ | Multi paradigm, compiled programming language developed by Apple for iOS and OS X development. (developer.apple.com/swift) |
122
| @tap@ | Test Anything Protocol [aliases: tap] |
123
| @tcl@ | The Tool Command Language (tcl.tk) |
124
| @terraform@ | Terraform HCL Interpolations [aliases: tf] |
125
| @tex@ | The TeX typesetting system [aliases: TeX,LaTeX,latex] |
126
| @toml@ | the TOML configuration format (https://github.com/mojombo/toml) |
127
| @tsx@ | tsx |
128
| @tulip@ | the tulip programming language (twitter.com/tuliplang) [aliases: tulip] |
129
| @turtle@ | Terse RDF Triple Language, TriG |
130
| @twig@ | Twig template engine (twig.sensiolabs.org) |
131
| @typescript@ | TypeScript, a superset of JavaScript [aliases: ts] |
132
| @vala@ | A programming language similar to csharp. |
133
| @vb@ | Visual Basic [aliases: visualbasic] |
134
| @verilog@ | The System Verilog hardware description language |
135
| @vhdl@ | Very High Speed Integrated Circuit Hardware Description Language |
136
| @viml@ | VimL, the scripting language for the Vim editor (vim.org) [aliases: vim,vimscript,ex] |
137
| @vue@ | Vue.js single-file components [aliases: vuejs] |
138
| @wollok@ | Wollok lang |
139
| @xml@ | <desc for="this-lexer">XML</desc> |
140
| @yaml@ | Yaml Ain't Markup Language (yaml.org) [aliases: yml] |
141
142
143
{{collapse(Note for the wiki maintainers)
144
The table above can be generated by running the following command.
145
<pre>
146
bundle exec rougify list | ruby -nle 'if $_ =~ /^([a-z0-9_-]+): (.+)/ ; puts "| @#{$1}@ | #{$2} |"; end'
147
</pre>
148
}}