Someone1

Person 33

Another Person

1You can add random extra footnotes

2And include websites or emails which are detached from their mailto

3You can also just specify the email and not have a mailto, or if there’s a mailto you want to use, you can specify only that

Section Break


As you can see, the authors and link are just includes

In other words, I can actually move them wherever I want, or place them here again. The data is provided by the front matter. Let’s try flipping the order.

Someone1

Person 33

Another Person

1You can add random extra footnotes

2And include websites or emails which are detached from their mailto

3You can also just specify the email and not have a mailto, or if there’s a mailto you want to use, you can specify only that


There is quite a bit of flexibility to how you structure the text too. Here, I’m going to make a justified grey content block with the heading outside.

Content

some text

Try clicking this heading, this shows the manually defined header anchor, but if you do this, you should do it for all headings.

I made this look right by adding the no-pre class. If you don’t include markdown="1" it will fail to render any markdown inside.

You can also make fullwidth embeds (this doesn’t actually link to any video)

Topic inside of the content block

Lorem ipsum dolor sit amet Consectetur adipiscing elit Integer molestie lorem at massa.

Alt Text

Topic outside of content block

Alt Text

Lorem ipsum dolor sit amet Consectetur adipiscing elit Integer molestie lorem at massa.

This is how we can get the image at 100%

Alt Text

And this is how we can get the image closer

Alt Text

Lorem ipsum dolor sit amet Consectetur adipiscing elit Integer molestie lorem at massa.

It’s also possible to specify a new font for a specific section

And you can also change it in the middle, though that’s a bit more problematic for other reasons.

To specify fonts, just use Google Fonts and update _data/fonts.yml. Any fonts you add as extra fonts at the bottom become usable fonts in the body of the post.

There are also tools to grab icons from other repos. Just use the following: , and you’ll be able to add icons from any library you have enabled that is supported.

This uses the liquid template engine for importing. If you include the - at the start of end of such a line, it say to discard all whitespace before or after. In order to keep the comma there, we added the -. This is what happens: , when you don’t have it (notice the space).

And if you have mathjax enabled in _config.yml or in the Front Matter as it is here, you can even add latex:

\[\begin{align*} & \phi(x,y) = \phi \left(\sum_{i=1}^n x_ie_i, \sum_{j=1}^n y_je_j \right) = \sum_{i=1}^n \sum_{j=1}^n x_i y_j \phi(e_i, e_j) = \\ & (x_1, \ldots, x_n) \left( \begin{array}{ccc} \phi(e_1, e_1) & \cdots & \phi(e_1, e_n) \\ \vdots & \ddots & \vdots \\ \phi(e_n, e_1) & \cdots & \phi(e_n, e_n) \end{array} \right) \left( \begin{array}{c} y_1 \\ \vdots \\ y_n \end{array} \right) \end{align*}\]

You can also treat a section of text as a block, and use kramdown’s block attribution methods to change fonts. You can see at the end of this section in the markdown that I do just that

This is a really long heading block so I can see if justify breaks the heading, and make sure that headings don’t get justify unless they are explicitly classed with justify like the following heading

This is the following really long heading block so I can see if justify breaks the heading, and make sure that only this heading is justified because it has the explicit tag

Citation

Insert whatever message

@article{nash51,
  author  = "Nash, John",
  title   = "Non-cooperative Games",
  journal = "Annals of Mathematics",
  year    = 1951,
  volume  = "54",
  number  = "2",
  pages   = "286--295"
}