1
2
3
4
``` LANGUAGE_SHORT_NAME_GOES_HERE
s = "Triple backticks ( ``` ) will generate code block"
print(s)
```
If no language is defined an attempt will be made to guess the language. If the guess fails the code block will have only basic highlighting.

List of supported languages:

  • ABAP: abap
  • ABNF: abnf
  • ActionScript: actionscript, as
  • ActionScript 3: actionscript3, as3
  • Ada: ada, ada95, ada2005
  • ADL: adl
  • AdvPL: advpl
  • Agda: agda
  • Aheui: aheui
  • Alloy: alloy
  • AmbientTalk: ambienttalk, ambienttalk/2, at
  • AMDGPU: amdgpu
  • Ampl: ampl
  • ANSYS parametric design language: ansys, apdl
  • ANTLR With ActionScript Target: antlr-actionscript, antlr-as
  • ANTLR With CPP Target: antlr-cpp
  • ANTLR With C# Target: antlr-csharp, antlr-c#
  • ANTLR With Java Target: antlr-java
  • ANTLR With ObjectiveC Target: antlr-objc
  • ANTLR With Perl Target: antlr-perl
  • ANTLR With Python Target: antlr-python
  • ANTLR With Ruby Target: antlr-ruby, antlr-rb
  • ANTLR: antlr
  • ApacheConf: apacheconf, aconf, apache
  • APL: apl
  • AppleScript: applescript
  • Arduino: arduino
  • Arrow: arrow
  • ASCII armored: asc, pem
  • AspectJ: aspectj
  • aspx-cs: aspx-cs
  • aspx-vb: aspx-vb
  • Asymptote: asymptote, asy
  • Augeas: augeas
  • autohotkey: autohotkey, ahk
  • AutoIt: autoit
  • Awk: awk, gawk, mawk, nawk
  • BARE: bare
  • Base Makefile: basemake
  • Bash: bash, sh, ksh, zsh, shell
  • Batchfile: batch, bat, dosbatch, winbatch
  • BBC Basic: bbcbasic
  • BBCode: bbcode
  • BC: bc
  • Bdd: bdd
  • Befunge: befunge
  • BibTeX: bibtex, bib
  • BlitzBasic: blitzbasic, b3d, bplus
  • BlitzMax: blitzmax, bmax
  • BNF: bnf
  • Boa: boa
  • Boo: boo
  • Boogie: boogie
  • Brainfuck: brainfuck, bf
  • BST: bst, bst-pybtex
  • BUGS: bugs, winbugs, openbugs
  • c-objdump: c-objdump
  • C: c
  • ca65 assembler: ca65
  • cADL: cadl
  • CAmkES: camkes, idl4
  • CapDL: capdl
  • Cap'n Proto: capnp
  • CBM BASIC V2: cbmbas
  • CDDL: cddl
  • Ceylon: ceylon
  • Coldfusion CFC: cfc
  • CFEngine3: cfengine3, cf3
  • Coldfusion HTML: cfm
  • cfstatement: cfs
  • ChaiScript: chaiscript, chai
  • Chapel: chapel, chpl
  • Charmci: charmci
  • Cheetah: cheetah, spitfire
  • Cirru: cirru
  • Clay: clay
  • Clean: clean
  • Clojure: clojure, clj
  • ClojureScript: clojurescript, cljs
  • CMake: cmake
  • COBOL: cobol
  • COBOLFree: cobolfree
  • CoffeeScript: coffeescript, coffee-script, coffee
  • Common Lisp: common-lisp, cl, lisp
  • Component Pascal: componentpascal, cp
  • Bash Session: console, shell-session
  • Coq: coq
  • C++: cpp, c++
  • cpp-objdump: cpp-objdump, c++-objdumb, cxx-objdump
  • CPSA: cpsa
  • Crystal: cr, crystal
  • Crmsh: crmsh, pcmk
  • Croc: croc
  • Cryptol: cryptol, cry
  • C#: csharp, c#, cs
  • Csound Orchestra: csound, csound-orc
  • Csound Document: csound-document, csound-csd
  • Csound Score: csound-score, csound-sco
  • CSS+Django/Jinja: css+django, css+jinja
  • CSS+Genshi Text: css+genshitext, css+genshi
  • CSS+Lasso: css+lasso
  • CSS+Mako: css+mako
  • CSS+mozpreproc: css+mozpreproc
  • CSS+Myghty: css+myghty
  • CSS+PHP: css+php
  • CSS+Ruby: css+ruby, css+erb
  • CSS+Smarty: css+smarty
  • CSS: css
  • CUDA: cuda, cu
  • Cypher: cypher
  • Cython: cython, pyx, pyrex
  • d-objdump: d-objdump
  • D: d
  • Dart: dart
  • DASM16: dasm16
  • Debian Control file: debcontrol, control
  • Debian Sourcelist: debsources, sourceslist, sources.list
  • Delphi: delphi, pas, pascal, objectpascal
  • Devicetree: devicetree, dts
  • dg: dg
  • Diff: diff, udiff
  • Django/Jinja: django, jinja
  • Docker: docker, dockerfile
  • MSDOS Session: doscon
  • Darcs Patch: dpatch
  • DTD: dtd
  • Duel: duel, jbst, jsonml+bst
  • Dylan session: dylan-console, dylan-repl
  • DylanLID: dylan-lid, lid
  • Dylan: dylan
  • Earl Grey: earl-grey, earlgrey, eg
  • Easytrieve: easytrieve
  • EBNF: ebnf
  • eC: ec
  • ECL: ecl
  • Eiffel: eiffel
  • Elixir: elixir, ex, exs
  • Elm: elm
  • Elpi: elpi
  • EmacsLisp: emacs-lisp, elisp, emacs
  • E-mail: email, eml
  • ERB: erb
  • Erlang erl session: erl
  • Erlang: erlang
  • Evoque: evoque
  • execline: execline
  • xtlang: extempore
  • Ezhil: ezhil
  • Factor: factor
  • Fantom: fan
  • Fancy: fancy, fy
  • Felix: felix, flx
  • Fennel: fennel, fnl
  • Fish: fish, fishshell
  • Flatline: flatline
  • FloScript: floscript, flo
  • Forth: forth
  • Fortran: fortran, f90
  • FortranFixed: fortranfixed
  • FoxPro: foxpro, vfp, clipper, xbase
  • Freefem: freefem
  • F#: fsharp, f#
  • FStar: fstar
  • Futhark: futhark
  • GAP: gap
  • GAS: gas, asm
  • g-code: gcode
  • GDScript: gdscript, gd
  • Genshi: genshi, kid, xml+genshi, xml+kid
  • Genshi Text: genshitext
  • Gherkin: gherkin, cucumber
  • GLSL: glsl
  • Gnuplot: gnuplot
  • Go: go, golang
  • Golo: golo
  • GoodData-CL: gooddata-cl
  • Gosu: gosu
  • Graphviz: graphviz, dot
  • Groff: groff, nroff, man
  • Groovy: groovy
  • GSQL: gsql
  • Gosu Template: gst
  • Haml: haml
  • Handlebars: handlebars
  • Haskell: haskell, hs
  • Haxe: haxe, hxsl, hx
  • Hxml: haxeml, hxml
  • Hexdump: hexdump
  • HLSL: hlsl
  • HSAIL: hsail, hsa
  • Hspec: hspec
  • HTML+Cheetah: html+cheetah, html+spitfire, htmlcheetah
  • HTML+Django/Jinja: html+django, html+jinja, htmldjango
  • HTML+Evoque: html+evoque
  • HTML+Genshi: html+genshi, html+kid
  • HTML+Handlebars: html+handlebars
  • HTML+Lasso: html+lasso
  • HTML+Mako: html+mako
  • HTML+Myghty: html+myghty
  • HTML + Angular2: html+ng2
  • HTML+PHP: html+php
  • HTML+Smarty: html+smarty
  • HTML+Twig: html+twig
  • HTML+Velocity: html+velocity
  • HTML: html
  • HTTP: http
  • Hybris: hybris, hy
  • Hy: hylang
  • Inform 6 template: i6t
  • Icon: icon
  • IDL: idl
  • Idris: idris, idr
  • Elixir iex session: iex
  • Igor: igor, igorpro
  • Inform 6: inform6, i6
  • Inform 7: inform7, i7
  • INI: ini, cfg, dosini
  • Io: io
  • Ioke: ioke, ik
  • IRC logs: irc
  • Isabelle: isabelle
  • J: j
  • JAGS: jags
  • Jasmin: jasmin, jasminxt
  • Java: java
  • JavaScript+Cheetah: javascript+cheetah, js+cheetah, javascript+spitfire, js+spitfire
  • JavaScript+Django/Jinja: javascript+django, js+django, javascript+jinja, js+jinja
  • JavaScript+Lasso: javascript+lasso, js+lasso
  • JavaScript+Mako: javascript+mako, js+mako
  • Javascript+mozpreproc: javascript+mozpreproc
  • JavaScript+Myghty: javascript+myghty, js+myghty
  • JavaScript+PHP: javascript+php, js+php
  • JavaScript+Ruby: javascript+ruby, js+ruby, javascript+erb, js+erb
  • JavaScript+Smarty: javascript+smarty, js+smarty
  • JavaScript: javascript, js
  • JCL: jcl
  • Julia console: jlcon, julia-repl
  • JavaScript+Genshi Text: js+genshitext, js+genshi, javascript+genshitext, javascript+genshi
  • JSGF: jsgf
  • JSLT: jslt
  • JSON: json, json-object
  • JSON-LD: jsonld, json-ld
  • Java Server Page: jsp
  • Julia: julia, jl
  • Juttle: juttle
  • Kal: kal
  • Kconfig: kconfig, menuconfig, linux-config, kernel-config
  • Kernel log: kmsg, dmesg
  • Koka: koka
  • Kotlin: kotlin
  • Kuin: kuin
  • Lasso: lasso, lassoscript
  • Lean: lean
  • LessCss: less
  • Lighttpd configuration file: lighttpd, lighty
  • LilyPond: lilypond
  • Limbo: limbo
  • liquid: liquid
  • Literate Agda: literate-agda, lagda
  • Literate Cryptol: literate-cryptol, lcryptol, lcry
  • Literate Haskell: literate-haskell, lhaskell, lhs
  • Literate Idris: literate-idris, lidris, lidr
  • LiveScript: livescript, live-script
  • LLVM-MIR Body: llvm-mir-body
  • LLVM-MIR: llvm-mir
  • LLVM: llvm
  • Logos: logos
  • Logtalk: logtalk
  • LSL: lsl
  • Lua: lua
  • Makefile: make, makefile, mf, bsdmake
  • Mako: mako
  • MAQL: maql
  • Markdown: markdown, md
  • Mask: mask
  • Mason: mason
  • Mathematica: mathematica, mma, nb
  • Matlab: matlab
  • Matlab session: matlabsession
  • Maxima: maxima, macsyma
  • Meson: meson, meson.build
  • MIME: mime
  • MiniD: minid
  • MiniScript: miniscript, ms
  • Modelica: modelica
  • Modula-2: modula2, m2
  • Monkey: monkey
  • Monte: monte
  • MOOCode: moocode, moo
  • MoonScript: moonscript, moon
  • Mosel: mosel
  • mozhashpreproc: mozhashpreproc
  • mozpercentpreproc: mozpercentpreproc
  • MQL: mql, mq4, mq5, mql4, mql5
  • Mscgen: mscgen, msc
  • MuPAD: mupad
  • MXML: mxml
  • Myghty: myghty
  • MySQL: mysql
  • NASM: nasm
  • NCL: ncl
  • Nemerle: nemerle
  • nesC: nesc
  • NestedText: nestedtext, nt
  • NewLisp: newlisp
  • Newspeak: newspeak
  • Angular2: ng2
  • Nginx configuration file: nginx
  • Nimrod: nimrod, nim
  • Nit: nit
  • Nix: nixos, nix
  • Node.js REPL console session: nodejsrepl
  • Notmuch: notmuch
  • NSIS: nsis, nsi, nsh
  • NumPy: numpy
  • NuSMV: nusmv
  • objdump-nasm: objdump-nasm
  • objdump: objdump
  • Objective-C++: objective-c++, objectivec++, obj-c++, objc++
  • Objective-C: objective-c, objectivec, obj-c, objc
  • Objective-J: objective-j, objectivej, obj-j, objj
  • OCaml: ocaml
  • Octave: octave
  • ODIN: odin
  • OMG Interface Definition Language: omg-idl
  • Ooc: ooc
  • Opa: opa
  • OpenEdge ABL: openedge, abl, progress
  • Text output: output
  • PacmanConf: pacmanconf
  • Pan: pan
  • ParaSail: parasail
  • Pawn: pawn
  • PEG: peg
  • Perl: perl, pl
  • Perl6: perl6, pl6, raku
  • PHP: php, php3, php4, php5
  • Pig: pig
  • Pike: pike
  • PkgConfig: pkgconfig
  • PL/pgSQL: plpgsql
  • Pointless: pointless
  • Pony: pony
  • PostgreSQL SQL dialect: postgresql, postgres
  • PostScript: postscript, postscr
  • Gettext Catalog: pot, po
  • POVRay: pov
  • PowerShell: powershell, pwsh, posh, ps1, psm1
  • Praat: praat
  • Procfile: procfile
  • Prolog: prolog
  • PromQL: promql
  • Properties: properties, jproperties
  • Protocol Buffer: protobuf, proto
  • PostgreSQL console (psql): psql, postgresql-console, postgres-console
  • PsySH console session for PHP: psysh
  • Pug: pug, jade
  • Puppet: puppet
  • PowerShell Session: pwsh-session, ps1con
  • Python 2.x Traceback: py2tb
  • Python console session: pycon
  • PyPy Log: pypylog, pypy
  • Python Traceback: pytb, py3tb
  • Python: python, py, sage, python3, py3
  • Python 2.x: python2, py2
  • QBasic: qbasic, basic
  • QML: qml, qbs
  • QVTO: qvto, qvt
  • Racket: racket, rkt
  • Ragel in C Host: ragel-c
  • Ragel in CPP Host: ragel-cpp
  • Ragel in D Host: ragel-d
  • Embedded Ragel: ragel-em
  • Ragel in Java Host: ragel-java
  • Ragel in Objective C Host: ragel-objc
  • Ragel in Ruby Host: ragel-ruby, ragel-rb
  • Ragel: ragel
  • Ruby irb session: rbcon, irb
  • RConsole: rconsole, rout
  • Rd: rd
  • ReasonML: reasonml, reason
  • REBOL: rebol
  • Red: red, red/system
  • Redcode: redcode
  • reg: registry
  • ResourceBundle: resourcebundle, resource
  • reStructuredText: restructuredtext, rst, rest
  • Rexx: rexx, arexx
  • RHTML: rhtml, html+erb, html+ruby
  • Ride: ride
  • Rita: rita
  • Relax-NG Compact: rng-compact, rnc
  • Roboconf Graph: roboconf-graph
  • Roboconf Instances: roboconf-instances
  • RobotFramework: robotframework
  • RQL: rql
  • RSL: rsl
  • Ruby: ruby, rb, duby
  • Rust: rust, rs
  • SARL: sarl
  • SAS: sas
  • Sass: sass
  • Savi: savi
  • Scala: scala
  • Scaml: scaml
  • scdoc: scdoc, scd
  • Scheme: scheme, scm
  • Scilab: scilab
  • SCSS: scss
  • Sed: sed, gsed, ssed
  • SmartGameFormat: sgf
  • Shen: shen
  • ShExC: shexc, shex
  • Sieve: sieve
  • Silver: silver
  • Singularity: singularity
  • Slash: slash
  • Slim: slim
  • Slurm: slurm, sbatch
  • Smali: smali
  • Smalltalk: smalltalk, squeak, st
  • Smarty: smarty
  • Smithy: smithy
  • Standard ML: sml
  • Snobol: snobol
  • Snowball: snowball
  • Solidity: solidity
  • Sophia: sophia
  • SourcePawn: sp
  • SPARQL: sparql
  • RPMSpec: spec
  • Spice: spice, spicelang
  • S: splus, s, r
  • SQL: sql
  • sqlite: sqlite, sqlite3
  • SquidConf: squidconf, squid.conf, squid
  • Srcinfo: srcinfo
  • Scalate Server Page: ssp
  • Stan: stan
  • Stata: stata, do
  • SuperCollider: supercollider, sc
  • Swift: swift
  • SWIG: swig
  • systemverilog: systemverilog, sv
  • TADS 3: tads3
  • TAP: tap
  • TASM: tasm
  • Tcl: tcl
  • Tcsh: tcsh, csh
  • Tcsh Session: tcshcon
  • Tea: tea
  • teal: teal
  • Tera Term macro: teratermmacro, teraterm, ttl
  • Termcap: termcap
  • Terminfo: terminfo
  • Terraform: terraform, tf
  • TeX: tex, latex
  • Text only: text
  • Thrift: thrift
  • ThingsDB: ti, thingsdb
  • tiddler: tid
  • Typographic Number Theory: tnt
  • Todotxt: todotxt
  • TOML: toml
  • MoinMoin/Trac Wiki markup: trac-wiki, moin
  • TrafficScript: trafficscript, rts
  • Treetop: treetop
  • Transact-SQL: tsql, t-sql
  • Turtle: turtle
  • Twig: twig
  • TypeScript: typescript, ts
  • TypoScript: typoscript
  • TypoScriptCssData: typoscriptcssdata
  • TypoScriptHtmlData: typoscripthtmldata
  • ucode: ucode
  • Unicon: unicon
  • UrbiScript: urbiscript
  • USD: usd, usda
  • Vala: vala, vapi
  • VB.net: vb.net, vbnet
  • VBScript: vbscript
  • VCL: vcl
  • VCLSnippets: vclsnippets, vclsnippet
  • VCTreeStatus: vctreestatus
  • Velocity: velocity
  • verilog: verilog, v
  • VGL: vgl
  • vhdl: vhdl
  • VimL: vim
  • WebAssembly: wast, wat
  • WDiff: wdiff
  • Web IDL: webidl
  • Whiley: whiley
  • X10: x10, xten
  • XML+Cheetah: xml+cheetah, xml+spitfire
  • XML+Django/Jinja: xml+django, xml+jinja
  • XML+Evoque: xml+evoque
  • XML+Lasso: xml+lasso
  • XML+Mako: xml+mako
  • XML+Myghty: xml+myghty
  • XML+PHP: xml+php
  • XML+Ruby: xml+ruby, xml+erb
  • XML+Smarty: xml+smarty
  • XML+Velocity: xml+velocity
  • XML: xml
  • Xorg: xorg.conf
  • XQuery: xquery, xqy, xq, xql, xqm
  • XSLT: xslt
  • Xtend: xtend
  • XUL+mozpreproc: xul+mozpreproc
  • YAML+Jinja: yaml+jinja, salt, sls
  • YAML: yaml
  • YANG: yang
  • Zeek: zeek, bro
  • Zephir: zephir
  • Zig: zig