Skip to content

Instantly share code, notes, and snippets.

@jon3laze
Created February 18, 2025 21:09
Show Gist options
  • Select an option

  • Save jon3laze/2b237438ddf859a3767cab997ff0d518 to your computer and use it in GitHub Desktop.

Select an option

Save jon3laze/2b237438ddf859a3767cab997ff0d518 to your computer and use it in GitHub Desktop.
Markdown Code Blocks - Supported Languages

Supported Languages

The table below shows the full list of languages (and corresponding classes/aliases) for markdown codeblocks.

Language Aliases
1C 1c
4D 4d
ABAP sap-abap, abap
ABNF abnf
Access logs accesslog
Ada ada
Apex apex
Arduino (C++ w/Arduino libs) arduino, ino
ARM assembler armasm, arm
AVR assembler avrasm
ActionScript actionscript, as
Alan IF alan, i
Alan ln
AngelScript angelscript, asc
Apache apache, apacheconf
AppleScript applescript, osascript
Arcade arcade
AsciiDoc asciidoc, adoc
AspectJ aspectj
AutoHotkey autohotkey
AutoIt autoit
Awk awk, mawk, nawk, gawk
Ballerina ballerina, bal
Bash bash, sh, zsh
Basic basic
BBCode bbcode
Blade (Laravel) blade
BNF bnf
BQN bqn
Brainfuck brainfuck, bf
C# csharp, cs
C c, h
C++ cpp, hpp, cc, hh, c++,
C/AL cal
C3 c3
Cache Object Script cos, cls
Candid candid, did
CMake cmake, cmake.in
COBOL cobol, standard-cobol
CODEOWNERS codeowners
Coq coq
CSP csp
CSS css
Cap’n Proto capnproto, capnp
Chaos chaos, kaos
Chapel chapel, chpl
Cisco CLI cisco
Clojure clojure, clj
CoffeeScript coffeescript, coffee, c
CpcdosC+ cpc
Crmsh crmsh, crm, pcmk
Crystal crystal, cr
cURL curl
Cypher (Neo4j) cypher
D d
Dafny dafny
Dart dart
Delphi dpr, dfm, pas, pascal
Diff diff, patch
Django django, jinja
DNS Zone file dns, zone, bind
Dockerfile dockerfile, docker
DOS dos, bat, cmd
dsconfig dsconfig
DTS (Device Tree) dts
Dust dust, dst
Dylan dylan
EBNF ebnf
Elixir elixir
Elm elm
Erlang erlang, erl
Excel excel, xls, xlsx
Extempore extempore, xtlang, xtm
F# fsharp, fs, fsx, fsi, f
FIX fix
Flix flix
Fortran fortran, f90, f95
FunC func
G-Code gcode, nc
Gams gams, gms
GAUSS gauss, gss
GDScript godot, gdscript
Gherkin gherkin
Glimmer and EmberJS hbs, glimmer, html.hbs,
GN for Ninja gn, gni
Go go, golang
Grammatical Framework gf
Golo golo, gololang
Gradle gradle
GraphQL graphql, gql
Groovy groovy
GSQL gsql
HTML, XML xml, html, xhtml, rss,
HTTP http, https
Haml haml
Handlebars handlebars, hbs, html.h
Haskell haskell, hs
Haxe haxe, hx
High-level shader language hlsl
Hy hy, hylang
Ini, TOML ini, toml
Inform7 inform7, i7
IRPF90 irpf90
Iptables iptables
JSON json, jsonc
JSONata jsonata
Java java, jsp
JavaScript javascript, js, jsx
Jolie jolie, iol, ol
Julia julia, jl
Julia REPL julia-repl
Kotlin kotlin, kt
Lang
LaTeX tex
Leaf leaf
Lean lean
Lasso lasso, ls, lassoscript
Less less
LDIF ldif
Liquid liquid
Lisp lisp
LiveCode Server livecodeserver
LiveScript livescript, ls
LookML lookml
Lua lua, pluto
Luau luau
Macaulay2 macaulay2
Makefile makefile, mk, mak, make
Markdown markdown, md, mkdown, m
Mathematica mathematica, mma, wl
Matlab matlab
Maxima maxima
Maya Embedded Language mel
Mercury mercury
MetaPost metapost
MIPS Assembler mips, mipsasm
Mint mint
Mirth mirth
mIRC Scripting Language mirc, mrc
Mizar mizar
MKB mkb
MLIR mlir
Mojolicious mojolicious
Monkey monkey
Moonscript moonscript, moon
Motoko motoko, mo
N1QL n1ql
NSIS nsis
Never never
Nginx nginx, nginxconf
Nim nim, nimrod
Nix nix
Oak oak
Object Constraint Language ocl
OCaml ocaml, ml
Objective C objectivec, mm, objc, o
Odin odin
OpenGL Shading Language glsl
OpenSCAD openscad, scad
Oracle Rules Language ruleslanguage
Oxygene oxygene
PF pf, pf.conf
PHP php
Papyrus papyrus, psc
Parser3 parser3
Perl perl, pl, pm
Phix phix
Pine Script pine, pinescript
Plaintext plaintext, txt, text
Pony pony
PostgreSQL & PL/pgSQL pgsql, postgres, postgr
PowerOn poweron, po
PowerShell powershell, ps, ps1
Processing processing
Prolog prolog
Properties properties
Protocol Buffers proto, protobuf
Puppet puppet, pp
Python python, py, gyp
Python profiler results profile
Python REPL python-repl, pycon
Q# qsharp
Q k, kdb
QML qml
R r
Raku raku, perl6, p6, pm6, r
RakuDoc pod6, rakudoc
RakuQuoting rakuquoting
RakuRegexe rakuregexe
Razor CSHTML cshtml, razor, razor-cs
ReasonML reasonml, re
Rebol & Red redbol, rebol, red, red
RenderMan RIB rib
RenderMan RSL rsl
ReScript rescript, res
RiScript risc, riscript
RISC-V Assembly riscv, riscvasm
Roboconf graph, instances
Robot Framework robot, rf
RPM spec files rpm-specfile, rpm, spec
Ruby ruby, rb, gemspec, pods
Rust rust, rs
RVT Script rvt, rvt-script
SAS SAS, sas
SCSS scss
SQL sql
STEP Part 21 p21, step, stp
Scala scala
Scheme scheme
Scilab scilab, sci
SFZ sfz
Shape Expressions shexc
Shell shell, console
Smali smali
Smalltalk smalltalk, st
SML sml, ml
Solidity solidity, sol
Splunk SPL spl
Stan stan, stanfuncs
Stata stata
Structured Text iecst, scl, stl, struct
Stylus stylus, styl
SubUnit subunit
Supercollider supercollider, sc
Svelte svelte
Swift swift
Tcl tcl, tk
Terraform (HCL) terraform, tf, hcl
Test Anything Protocol tap
Thrift thrift
Toit toit
TP tp
Transact-SQL tsql
TTCN-3 ttcn, ttcnpp, ttcn3
Twig twig, craftcms
TypeScript typescript, ts, tsx, mt
Unicorn Rails log unicorn-rails-log
Unison unison, u
VB.Net vbnet, vb
VBA vba
VBScript vbscript, vbs
VHDL vhdl
Vala vala
Verilog verilog, v
Vim Script vim
WGSL wgsl
X# xsharp, xs, prg
X++ axapta, x++
x86 Assembly x86asm
x86 Assembly (AT&T) x86asmatt
XL xl, tao
XQuery xquery, xpath, xq, xqm
YAML yml, yaml
ZenScript zenscript, zs
Zephir zephir, zep
Zig zig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment