Welcome to Jekyll!

| 分类 technology  | 标签 Jekyll 

You’ll find this post in your _posts directory - edit this post and re-build (or run with the -w switch) to see your changes! To add new posts, simply add a file in the _posts directory that follows the convention: YYYY-MM-DD-name-of-post.ext.

Jekyll also offers powerful support for code snippets:

For ruby language:

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

For C language with line number:

1
2
3
4
5
6
#include <stdio.h>
int main()
{
    printf("Hello jekyll!");
    return 0;
}

Jekyll also offers powerful support for LaTeX:

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.


上一篇     下一篇