Code syntax highlighting

Syntax highlighting is builtin. To activate highlighting, your fenced code blocks must contain a language identifier (see example).


Tip: you can click the edit icon in the footer to the view source of this zettel.

-- This is Haskell
main = do 
  putStrLn $ show $ 2 + 2
{ "_comment" : "This is JSON"
, "name" : "srid"
, "loc" : "Quebec"
This is mediawiki, the format used by ''Wikipedia''.

== Heading ==

Statement 1. {{cite oed|wiki}}
% This is Matlab code
data = T(:,{'Year','Month','DayofMonth','UniqueCarrier'});
data.Date = datetime(data.Year,data.Month,data.DayofMonth);
data.UniqueCarrier = categorical(data.UniqueCarrier);

Languages supported

See here for a full list of languages supported.