pages/_posts/2023-07-12-post-bibliography.md
Maruan beb6f27d59
format code with prettier.io (#2048)
summary:
- adds prettier formatter configuration
- formats the entire repo using prettier, ignoring minified files
(`*.min.css`) and heavy generated html
- changes extensions of all `.html` files to `.liquid`, which is more
correct and necessary for prettier to work correctly
- replaces "%-" and "-%" with just "%" — manual liquid formatting using
minus signs is superfluous since we are compressing and minifying the
code anyway
- adds CI action for running prettier check on PR and pushes to master
2024-01-10 00:10:51 -05:00

941 B

layout title date description tags categories giscus_comments related_posts related_publications
post a post with bibliography 2023-07-12 09:56:00-0400 an example of a blog post with bibliography formatting bib sample-posts true false true

This post shows how to add bibliography to simple blog posts. We support every citation style that jekyll-scholar does. That means simple citation like {% cite einstein1950meaning %}, multiple citations like {% cite einstein1950meaning einstein1905movement %}, long references like {% reference einstein1905movement %} or also quotes:

{% quote einstein1905electrodynamics %} Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor.

Lorem ipsum dolor sit amet, consectetur adipisicing. {% endquote %}

If you would like something more academic, check the [distill style post]({% post_url 2018-12-22-distill %}).