Playing with Jekyll
Testing support for code snippets:
Ruby
def print_hi(name)
puts "Hi, #{name}"
end
print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.C Language
void hi (char [] name) {
// prints 'Hi, Tom' to STDOUT.
printf("Hi, %s", name);
}Visual Basic
Public Sub hi (name as string)
' prints 'Hi, Tom' to DEBUG Terminal.
Debug.Print "Hi, " & name
End SubPython
def hi (name):
#prints Hi, Tom to console
print ("Hi, " + name)Available languages are available at Rouge repository.
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.