1. Qiita
Changes in body
Source | HTML | Preview

Qiita Markdownのコードブロックで指定できる言語は以下の通りです。
例えばRubyを利用する場合は

```rb
...
```

のように指定してください。

BEEkXyuFf2S.gif

Qiita Markdownについては Qiita Markdown をご覧下さい。

なお、シンタックスハイライトには pygments.rb を利用しており、下記の対応言語リストは Supported languages — Pygments に準ずるものですが、最新の状況に対応していない可能性もありますのでご了承ください。(編集リクエストをいただければ幸いです :wink: )

対応言語リスト

言語名の表記は Supported languages — Pygments に準じます。また、表記の言語名ではなく、ファイルタイプの表記で補完される言語もあります(例: markdown -> md)。1

クリックで展開します
- ABAP
- ABNF
- ADL
- ANTLR
- ANTLR With ActionScript Target
- ANTLR With C# Target
- ANTLR With CPP Target
- ANTLR With Java Target
- ANTLR With ObjectiveC Target
- ANTLR With Perl Target
- ANTLR With Python Target
- ANTLR With Ruby Target
- APL
- ActionScript
- ActionScript 3
- Ada
- Agda
- Aheui
- Alloy
- AmbientTalk
- Ampl
- Angular2
- ApacheConf
- AppleScript
- Arduino
- AspectJ
- Asymptote
- AutoIt
- Awk
- BBCode
- BC
- BNF
- BST
- BUGS
- Base Makefile
- Bash
- Bash Session
- Batchfile
- Befunge
- BibTeX
- BlitzBasic
- BlitzMax
- Boo
- Boogie
- Brainfuck
- Bro
- C
- C#
- C++
- CAmkES
- CBM BASIC V2
- CFEngine3
- CMake
- COBOL
- COBOLFree
- CPSA
- CSS
- CSS+Django/Jinja
- CSS+Genshi Text
- CSS+Lasso
- CSS+Mako
- CSS+Myghty
- CSS+PHP
- CSS+Ruby
- CSS+Smarty
- CSS+mozpreproc
- CUDA
- Cap'n Proto
- CapDL
- Ceylon
- ChaiScript
- Chapel
- Cheetah
- Cirru
- Clay
- Clean
- Clojure
- ClojureScript
- CoffeeScript
- Coldfusion CFC
- Coldfusion HTML
- Common Lisp
- Component Pascal
- Coq
- Crmsh
- Croc
- Cryptol
- Crystal
- Csound Document
- Csound Orchestra
- Csound Score
- Cypher
- Cython
- D
- DTD
- Darcs Patch
- Dart
- Debian Control file
- Debian Sourcelist
- Delphi
- Diff
- Django/Jinja
- Docker
- Duel
- Dylan
- Dylan session
- DylanLID
- EBNF
- ECL
- ERB
- Earl Grey
- Easytrieve
- Eiffel
- Elixir
- Elixir iex session
- Elm
- EmacsLisp
- Embedded Ragel
- Erlang
- Erlang erl session
- Evoque
- Ezhil
- FSharp
- Factor
- Fancy
- Fantom
- Felix
- Fish
- Flatline
- Forth
- Fortran
- FortranFixed
- FoxPro
- GAP
- GAS
- GLSL
- Genshi
- Genshi Text
- Gettext Catalog
- Gherkin
- Gnuplot
- Go
- Golo
- GoodData-CL
- Gosu
- Gosu Template
- Groff
- Groovy
- HSAIL
- HTML
- HTML + Angular2
- HTML+Cheetah
- HTML+Django/Jinja
- HTML+Evoque
- HTML+Genshi
- HTML+Handlebars
- HTML+Lasso
- HTML+Mako
- HTML+Myghty
- HTML+PHP
- HTML+Smarty
- HTML+Twig
- HTML+Velocity
- HTTP
- Haml
- Handlebars
- Haskell
- Haxe
- Hexdump
- Hxml
- Hy
- Hybris
- IDL
- INI
- IRC logs
- Idris
- Igor
- Inform 6
- Inform 6 template
- Inform 7
- Io
- Ioke
- Isabelle
- J
- JAGS
- JCL
- JSGF
- JSON
- JSON-LD
- JSONBareObject
- Jasmin
- Java
- Java Server Page
- JavaScript
- JavaScript+Cheetah
- JavaScript+Django/Jinja
- JavaScript+Genshi Text
- JavaScript+Lasso
- JavaScript+Mako
- JavaScript+Myghty
- JavaScript+PHP
- JavaScript+Ruby
- JavaScript+Smarty
- Javascript+mozpreproc
- Julia
- Julia console
- Juttle
- Kal
- Kconfig
- Koka
- Kotlin
- LLVM
- LSL
- Lasso
- Lean
- LessCss
- Lighttpd configuration file
- Limbo
- Literate Agda
- Literate Cryptol
- Literate Haskell
- Literate Idris
- LiveScript
- Logos
- Logtalk
- Lua
- MAQL
- MOOCode
- MQL
- MSDOS Session
- MXML
- Makefile
- Mako
- Mask
- Mason
- Mathematica
- Matlab
- Matlab session
- MiniD
- Modelica
- Modula-2
- MoinMoin/Trac Wiki markup
- Monkey
- Monte
- MoonScript
- Mscgen
- MuPAD
- MySQL
- Myghty
- NASM
- NCL
- NSIS
- Nemerle
- NewLisp
- Newspeak
- Nginx configuration file
- Nimrod
- Nit
- Nix
- NuSMV
- NumPy
- OCaml
- ODIN
- Objective-C
- Objective-C++
- Objective-J
- Octave
- Ooc
- Opa
- OpenEdge ABL
- PHP
- PL/pgSQL
- POVRay
- PacmanConf
- Pan
- ParaSail
- Pawn
- Perl
- Perl6
- Pig
- Pike
- PkgConfig
- PostScript
- PostgreSQL SQL dialect
- PostgreSQL console (psql)
- PowerShell
- PowerShell Session
- Praat
- Prolog
- Properties
- Protocol Buffer
- Pug
- Puppet
- PyPy Log
- Python
- Python 3
- Python 3.0 Traceback
- Python Traceback
- Python console session
- QBasic
- QML
- QVTO
- RConsole
- REBOL
- RHTML
- RPMSpec
- RQL
- RSL
- Racket
- Ragel
- Ragel in C Host
- Ragel in CPP Host
- Ragel in D Host
- Ragel in Java Host
- Ragel in Objective C Host
- Ragel in Ruby Host
- Rd
- Red
- Redcode
- Relax-NG Compact
- ResourceBundle
- Rexx
- Roboconf Graph
- Roboconf Instances
- RobotFramework
- Ruby
- Ruby irb session
- Rust
- S
- SAS
- SCSS
- SPARQL
- SQL
- SWIG
- Sass
- Scala
- Scalate Server Page
- Scaml
- Scheme
- Scilab
- Shen
- Silver
- Slim
- Smali
- Smalltalk
- Smarty
- Snobol
- Snowball
- SourcePawn
- SquidConf
- Stan
- Standard ML
- Stata
- SuperCollider
- Swift
- TADS 3
- TAP
- TASM
- Tcl
- Tcsh
- Tcsh Session
- TeX
- Tea
- Termcap
- Terminfo
- Terraform
- Text only
- Thrift
- Todotxt
- TrafficScript
- Transact-SQL
- Treetop
- Turtle
- Twig
- TypeScript
- TypoScript
- TypoScriptCssData
- TypoScriptHtmlData
- UrbiScript
- VB.net
- VCL
- VCLSnippets
- VCTreeStatus
- VGL
- Vala
- Velocity
- VimL
- WDiff
- Whiley
- X10
- XML
- XML+Cheetah
- XML+Django/Jinja
- XML+Evoque
- XML+Lasso
- XML+Mako
- XML+Myghty
- XML+PHP
- XML+Ruby
- XML+Smarty
- XML+Velocity
- XQuery
- XSLT
- XUL+mozpreproc
- Xtend
- YAML
- YAML+Jinja
- Zephir
- aspx-cs
- aspx-vb
- autohotkey
- c-objdump
- cADL
- ca65 assembler
- cfstatement
- cpp-objdump
- d-objdump
- dg
- eC
- liquid
- markdown
- mozhashpreproc
- mozpercentpreproc
- nesC
- objdump
- objdump-nasm
- reStructuredText
- reg
- sqlite3con
- systemverilog
- veriloge
- vhdl
- xtlang

Last Update: 2017-12-08

下記のハイライトが追加・削除されました。

Removed Lexers

  • Jade
    • Pugとして収録されています
  • Shell Session
  • ca65

Added Lexers

  • ABNF
  • ADL
  • Aheui
  • Ampl
  • Angular2
  • Arduino
  • BC
  • BNF
  • BST
  • BibTeX
  • Boogie
  • CAmkES
  • CPSA
  • CSS+mozpreproc
  • Cap'n Proto
  • CapDL
  • Clean
  • Component Pascal
  • Crmsh
  • Crystal
  • Csound Document
  • Csound Orchestra
  • Csound Score
  • Earl Grey
  • Easytrieve
  • Elm
  • EmacsLisp
  • Ezhil
  • Fish
  • Flatline
  • Forth
  • FortranFixed
  • HSAIL
  • HTML + Angular2
  • HTML+Twig
  • Hexdump
  • Isabelle
  • J
  • JCL
  • JSGF
  • JSON-LD
  • JSONBareObject
  • Javascript+mozpreproc
  • Juttle
  • Lean
  • LessCss
  • MSDOS Session
  • Monte
  • NCL
  • Nit
  • NuSMV
  • ODIN
  • PacmanConf
  • ParaSail
  • PkgConfig
  • PowerShell Session
  • Praat
  • Pug
  • QVTO
  • Relax-NG Compact
  • ResourceBundle
  • Roboconf Graph
  • Roboconf Instances
  • SAS
  • Shen
  • Silver
  • Snowball
  • Stata
  • SuperCollider
  • TADS 3
  • TAP
  • TASM
  • Tcsh Session
  • Termcap
  • Terminfo
  • Terraform
  • Thrift
  • TrafficScript
  • Transact-SQL
  • Turtle
  • Twig
  • TypoScript
  • TypoScriptCssData
  • TypoScriptHtmlData
  • VCL
  • VCLSnippets
  • WDiff
  • Whiley
  • X10
  • XUL+mozpreproc
  • Xorg
  • cADL
  • ca65 assembler
  • markdown
  • mozhashpreproc
  • mozpercentpreproc
  • xtlang

  1. わかりづらいため、言語名でもファイルタイプでも補完が働くよう変更することを検討しています (2018/01/23)