Highlight code snippets
An example of code snippets in Jekyll:
Display math equations using MathJax
An example of math equations in Jekyll (MathJax):
MathJax can be imported externally inside the
/_layouts/x.html to allow posts that use
x.html as layout template to display math
equations as follow:
If you use the default Jekyll theme minima,
you can also download the default
post.html from minima and add MathJax to it.
This blog’s repo provides a working example of Jekyll default theme (Minima) with MathJax installed.