Supported syntax highlighting in Jekyll

5 minute read comments

Found on this website by Marcelo Canina , here is a list of supported programming languages for syntax highlighting in Jekyll:

Language Usage in Jekyll Aliases
ActionScript actionscript as, as3
configuration files for Apache web server apache  
Markdown based API description language. apiblueprint apiblueprint, apib
AppleScript scripting language by Apple Inc. ( applescript applescript
BIML (Business Intelligence Markup Language) biml  
The C programming language c  
Say more, more clearly. ceylon  
CFScript (the CFML scripting language) cfscript cfc
The Clojure programming language ( clojure clj, cljs
The cross-platform, open-source build system cmake  
The Coffeescript programming language ( coffeescript coffee, coffee-script
The Common Lisp variant of Lisp ( common_lisp cl, common-lisp, elisp, emacs-lisp
A generic lexer for configuration files conf config, configuration
Coq ( coq  
The C++ programming language cpp c++
a multi-paradigm language targeting .NET csharp c#, cs
Cascading Style Sheets, used to style web pages css  
The D programming language( d dlang
The Dart programming language ( dart  
Lexes unified diffs or patches diff patch, udiff
Eiffel programming language eiffel  
Elixir language ( elixir elixir, exs
Embedded ruby template files erb eruby, rhtml
The Erlang programming language ( erlang erl
Factor, the practical stack language ( factor  
Fortran 95 Programming Language fortran  
A business-readable spec DSL ( gherkin cucumber, behat
The GLSL shader language glsl  
The Go programming language ( go golang
A powerful build system for the JVM gradle  
The Groovy programming language ( groovy  
The Haml templating system for Ruby ( haml HAML
the Handlebars and Mustache templating languages handlebars hbs, mustache
The Haskell programming language ( haskell hs
HTML, the markup language of the web html  
http requests and responses http  
the INI configuration format ini  
The IO programming language ( io  
The Java programming language ( java  
JavaScript, the browser scripting language javascript js
Django/Jinja template engine ( jinja django
JavaScript Object Notation with extenstions for documentation json-doc  
JavaScript Object Notation ( json  
An elegant, formally-specified config language for JSON jsonnet  
The Julia programming language julia jl
Kotlin ( kotlin  
Liquid is a templating engine for Ruby ( liquid  
Literate coffeescript literate_coffeescript litcoffee
Literate haskell literate_haskell lithaskell, lhaskell, lhs
The LLVM Compiler Infrastructure ( llvm  
Lua ( lua  
Makefile syntax make makefile, mf, gnumake, bsdmake
Markdown, a light-weight markup language for authors markdown md, mkd
Matlab matlab m
Moonscript ( moonscript moon
Netwide Assembler nasm  
configuration files for the nginx web server ( nginx  
The Nim programming language ( nim nimrod
an extension of C commonly used to write Apple software objective_c objc
Objective CAML ( ocaml  
a procedural programming language commonly used as a teaching language. pascal  
The Perl scripting language ( perl pl
The PHP scripting language ( php php, php3, php4, php5
A boring lexer that doesn’t highlight anything plaintext text
powershell powershell posh
The Praat scripting language ( praat  
The Prolog programming language ( prolog  
.properties config files for Java properties  
Google’s language-neutral, platform-neutral, extensible mechanism for serializing structured data protobuf proto
The Puppet configuration management language ( puppet pp
The Python programming language ( python py
QML, a UI markup language qml  
The R statistics language ( r R, s, S
Racket is a Lisp descended from Scheme ( racket  
The Ruby programming language ( ruby rb
The Rust programming language ( rust rs
The Sass stylesheet language language ( sass  
The Scala programming language ( scala scala
The Scheme variant of Lisp scheme  
SCSS stylesheets ( scss  
sed, the ultimate stream editor sed  
A generic lexer for shell session and command line shell_session terminal, console
Various shell languages, including sh and bash shell bash, zsh, ksh, sh
The Slim template language slim  
The Smalltalk programming language smalltalk st, squeak
Smarty Template Engine smarty  
Standard ML sml ml
Structured Query Language, for relational databases sql  
Multi paradigm, compiled programming language developed by Apple for iOS and OS X development. ( swift  
Test Anything Protocol tap  
The Tool Command Language ( tcl  
The TeX typesetting system tex TeX, LaTeX, latex
the TOML configuration format ( toml  
The tulip programming language ( tulip tlp
Twig template engine ( twig  
TypeScript, a superset of JavaScript typescript ts
Visual Basic vb visualbasic
The System Verilog hardware description language verilog  
VimL, the scripting language for the Vim editor ( viml vim, vimscript, ex
XML xml  
Yaml Ain’t Markup Language ( yaml yml

You can use any of the above listed languages in fenced code blocks either by using ~ or `:

import numpy as np
import numpy as np

render both to

import numpy as np


Comment on this post by publicly replying to this Mastodon post using a Mastodon or other ActivityPub/Fediverse account.

Comments on this website are based on a Mastodon-powered comment system. Learn more about it here.

There are no known comments, yet. Be the first to write a reply.