RedmineCodeHighlightingLanguages » History » Version 5
Go MAEDA, 2019-05-10 05:39
Fixed typos
1 | 1 | Go MAEDA | h1. Code highlighting supported languages |
---|---|---|---|
2 | |||
3 | 4 | Go MAEDA | Default code highlighting relies on "Rouge":http://rouge.jneen.net/ since Redmine 4.0.0. It supports over 130 languages. Refer [[RedmineTextFormattingTextile#Code-highlighting]] or [[RedmineTextFormattingMarkdown#Code-highlighting]] for how to highlight code. |
4 | 1 | Go MAEDA | |
5 | 5 | Go MAEDA | Here is a list of supported languages by Rouge 3.3.0, which is bundled with Redmine 4.0.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 | | @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 | 3 | Go MAEDA | | @jsp@ | JSP | |
70 | 1 | Go MAEDA | | @jsx@ | React JSX (https://facebook.github.io/react/) [aliases: jsx,react] | |
71 | | @julia@ | The Julia programming language [aliases: jl] | |
||
72 | | @kotlin@ | Kotlin Programming Language (http://kotlinlang.org) | |
||
73 | | @lasso@ | The Lasso programming language (lassosoft.com) [aliases: lassoscript] | |
||
74 | | @liquid@ | Liquid is a templating engine for Ruby (liquidmarkup.org) | |
||
75 | | @literate_coffeescript@ | Literate coffeescript [aliases: litcoffee] | |
||
76 | | @literate_haskell@ | Literate haskell [aliases: lithaskell,lhaskell,lhs] | |
||
77 | | @llvm@ | The LLVM Compiler Infrastructure (http://llvm.org/) | |
||
78 | | @lua@ | Lua (http://www.lua.org) | |
||
79 | 3 | Go MAEDA | | @m68k@ | Motorola 68k Assembler | |
80 | 1 | Go MAEDA | | @make@ | Makefile syntax [aliases: makefile,mf,gnumake,bsdmake] | |
81 | | @markdown@ | Markdown, a light-weight markup language for authors [aliases: md,mkd] | |
||
82 | 3 | Go MAEDA | | @mathematica@ | Wolfram Mathematica, the world's definitive system for modern technical computing. [aliases: wl] | |
83 | 1 | Go MAEDA | | @matlab@ | Matlab [aliases: m] | |
84 | | @moonscript@ | Moonscript (http://www.moonscript.org) [aliases: moon] | |
||
85 | | @mosel@ | An optimization language used by Fico's Xpress. | |
||
86 | | @mxml@ | MXML | |
||
87 | | @nasm@ | Netwide Assembler | |
||
88 | | @nginx@ | configuration files for the nginx web server (nginx.org) | |
||
89 | | @nim@ | The Nim programming language (http://nim-lang.org/) [aliases: nimrod] | |
||
90 | | @nix@ | The Nix expression language (https://nixos.org/nix/manual/#ch-expression-language) [aliases: nixos] | |
||
91 | 3 | Go MAEDA | | @objective_c@ | an extension of C commonly used to write Apple software [aliases: objc,obj-c,obj_c,objectivec] | |
92 | 1 | Go MAEDA | | @ocaml@ | Objective Caml (ocaml.org) | |
93 | | @pascal@ | a procedural programming language commonly used as a teaching language. | |
||
94 | | @perl@ | The Perl scripting language (perl.org) [aliases: pl] | |
||
95 | | @php@ | The PHP scripting language (php.net) [aliases: php,php3,php4,php5] | |
||
96 | | @plaintext@ | A boring lexer that doesn't highlight anything [aliases: text] | |
||
97 | | @plist@ | plist [aliases: plist] | |
||
98 | | @powershell@ | powershell [aliases: posh] | |
||
99 | | @praat@ | The Praat scripting language (praat.org) | |
||
100 | | @prolog@ | The Prolog programming language (http://en.wikipedia.org/wiki/Prolog) [aliases: prolog] | |
||
101 | | @prometheus@ | prometheus [aliases: prometheus] | |
||
102 | | @properties@ | .properties config files for Java | |
||
103 | | @protobuf@ | Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data [aliases: proto] | |
||
104 | | @puppet@ | The Puppet configuration management language (puppetlabs.org) [aliases: pp] | |
||
105 | | @python@ | The Python programming language (python.org) [aliases: py] | |
||
106 | | @q@ | The Q programming language (kx.com) [aliases: kdb+] | |
||
107 | | @qml@ | QML, a UI markup language [aliases: qml] | |
||
108 | | @r@ | The R statistics language (r-project.org) [aliases: r,R,s,S] | |
||
109 | | @racket@ | Racket is a Lisp descended from Scheme (racket-lang.org) | |
||
110 | | @ruby@ | The Ruby programming language (ruby-lang.org) [aliases: rb] | |
||
111 | 3 | 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] | |
112 | 1 | Go MAEDA | | @sass@ | The Sass stylesheet language language (sass-lang.com) | |
113 | | @scala@ | The Scala programming language (scala-lang.org) [aliases: scala] | |
||
114 | | @scheme@ | The Scheme variant of Lisp | |
||
115 | | @scss@ | SCSS stylesheets (sass-lang.com) | |
||
116 | | @sed@ | sed, the ultimate stream editor | |
||
117 | | @shell@ | Various shell languages, including sh and bash [aliases: bash,zsh,ksh,sh] | |
||
118 | | @sieve@ | mail filtering language | |
||
119 | | @slim@ | The Slim template language | |
||
120 | | @smalltalk@ | The Smalltalk programming language [aliases: st,squeak] | |
||
121 | | @smarty@ | Smarty Template Engine [aliases: smarty] | |
||
122 | | @sml@ | Standard ML [aliases: ml] | |
||
123 | 3 | Go MAEDA | | @sqf@ | Status Quo Function, a Real Virtuality engine scripting language | |
124 | 1 | Go MAEDA | | @sql@ | Structured Query Language, for relational databases | |
125 | | @swift@ | Multi paradigm, compiled programming language developed by Apple for iOS and OS X development. (developer.apple.com/swift) | |
||
126 | | @tap@ | Test Anything Protocol [aliases: tap] | |
||
127 | | @tcl@ | The Tool Command Language (tcl.tk) | |
||
128 | | @terraform@ | Terraform HCL Interpolations [aliases: tf] | |
||
129 | | @tex@ | The TeX typesetting system [aliases: TeX,LaTeX,latex] | |
||
130 | | @toml@ | the TOML configuration format (https://github.com/mojombo/toml) | |
||
131 | | @tsx@ | tsx | |
||
132 | | @tulip@ | the tulip programming language (twitter.com/tuliplang) [aliases: tulip] | |
||
133 | | @turtle@ | Terse RDF Triple Language, TriG | |
||
134 | | @twig@ | Twig template engine (twig.sensiolabs.org) | |
||
135 | | @typescript@ | TypeScript, a superset of JavaScript [aliases: ts] | |
||
136 | | @vala@ | A programming language similar to csharp. | |
||
137 | | @vb@ | Visual Basic [aliases: visualbasic] | |
||
138 | | @verilog@ | The System Verilog hardware description language | |
||
139 | | @vhdl@ | Very High Speed Integrated Circuit Hardware Description Language | |
||
140 | | @viml@ | VimL, the scripting language for the Vim editor (vim.org) [aliases: vim,vimscript,ex] | |
||
141 | | @vue@ | Vue.js single-file components [aliases: vuejs] | |
||
142 | | @wollok@ | Wollok lang | |
||
143 | | @xml@ | <desc for="this-lexer">XML</desc> | |
||
144 | | @yaml@ | Yaml Ain't Markup Language (yaml.org) [aliases: yml] | |
||
145 | |||
146 | |||
147 | {{collapse(Note for the wiki maintainers) |
||
148 | The table above can be generated by running the following command. |
||
149 | <pre> |
||
150 | bundle exec rougify list | ruby -nle 'if $_ =~ /^([a-z0-9_-]+): (.+)/ ; puts "| @#{$1}@ | #{$2} |"; end' |
||
151 | </pre> |
||
152 | }} |