MathJax
You can enable MathJax by setting mathjax: true
on a page or globally in the _config.yml
. Some examples:
Euler’s formula relates the complex exponential function to the trigonometric functions.
The Euler-Lagrange differential equation is the fundamental equation of calculus of variations.
The Schrödinger equation describes how the quantum state of a quantum system changes with time.
Code
Embed code by putting {% highlight language %}
{% endhighlight %}
blocks around it.
Gists
With the jekyll-gist
plugin, which is preinstalled on Github Pages, you can embed gists simply by using the gist
command:
Images
Upload an image to the assets folder and embed it with ![title](/assets/name.jpg))
. Keep in mind that the path needs to be adjusted if Jekyll is run inside a subfolder.
The .large
wrapper can be used to increase the width of an image or iframe.
Flower by Tj Holowaychuk
Embedded content
You can also embed a lot of stuff, for example from YouTube, using the embed.html
include.