This was my first time using Jekyll after using Github Pages (gh-pages) a couple of times for several projects, e.g. generating some pages to display Chinese emo20q data, which were generated programatically from the data into the default gh-pages and a site I use for teaching SEIS 631, the stats and R data analysis at UST GPS, which was created using RStudio and RMarkdown.

I’ll also test out code snippets:

I don’t use Ruby too much but it’s the language of Jekyll:

def print_hi(name)
  puts "Hi, #{name}"
end
print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.

Python, my main language:

def print_hi(name):
  print(f"hi {name}")

print_hi('Tom')
#=> print 'hi Tom' to STDOUT.

R, my recent go-to language and what I’ve been teaching:

print_hi <- function(name){
  cat("hi", name)
}
print_hi('Tom')
#=> print 'hi Tom' to STDOUT.

Check out the Jekyll docs for more info on how to get the most out of Jekyll. File all bugs/feature requests at Jekyll’s GitHub repo. If you have questions, you can ask them on Jekyll Talk.