To add new posts, simply add a file in the _posts directory that follows the convention YYYY-MM-DD-name-of-post.markdown.

Jekyll also offers powerful support for code snippets:

def print_sth(str):
    print(str)
#=> e.g., prints 'hello world' to STDOUT.

jekyll also offers powerful support for latex math fomulations:

To enable this functionality, we first specify markdown: kramdown in the _config.yaml file and add the following snippet in the front of </head> tag of /_include/head.html file (if it is not in the repository, use bundle show minima to find the location of minima theme):

<!-- Mathjax Support -->
<script type="text/javascript" async
  src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>

Use bundle exec jekyll serve to build and run the website natively.