Jekyll Syntax Highlighting
Hello! Since this is my first blog post using Jekyll, I will be trying out Jekyll’s built-in support for code snippets with syntax highlighting for various languages.
## Python
def hello_world():
x = "Hello, World!"
print(x)
## R
hello_world <- function() {
x <- "Hello, World!"
print(x)
}
## Julia
function helloworld()
x = "Hello, World!"
println(x)
end
// JavaScript
function helloWorld() {
var x = "Hello, World!";
console.log(x);
}
Seems pretty decent!