Carl Barks

About

To make sure everything works as expected and looks pretty, on this page, we will explore how different types of content are displayed by this theme.

Headings

The following HTML <h1><h6> elements represent six levels of section headings. <h1> is the highest section level while <h6> is the lowest.

H1

H2

H3

H4

H5
H6

Paragraph

Just a normal paragraph

Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur?

How about some diacritics?

Âçčèñtëd characters are important, too!

Or some non-Latin alphabets?

Может быть, кириллические буквы?

日本人はどうですか?

或者是中国人?

Finally: emojis!

Sometimes ⏳ an emoji 😂 says 💬 more than a thousand 💯 words! 🤯🎉


Images

Of course, we also need support for images. You can either simply use Markdown:

Monte Altissimo di Nago

Or you go with HTML and place it inside a <figure> enviroment:

Hummingbirds
Fun fact: Did you know that in Portuguese, hummingbirds are called beija-flor, which means "flower kisser"? Personally, I think that is super cute! 🌸

Of course, with HTML, you can also control the width of the images, or turn them into hyperlinks. Just choose whatever works best for you!


Footnotes

This text1 even has proper footnotes. Isn’t it great?2 The footnotes even have backlinks that allow you to jump back to where you left the main text!


Blockquotes

Let’s test how well blockquotes look:

Some random quote.

And another one, this time with a source:

Man, I swear, I never said that! — Some guy who totally did say that


Tables

The tables use a style inspired by the booktabs package in LaTeX. And just like in LaTeX, tables in Markdown are always a little annoying to type manually:

Name Age
Bob 27
Alice 23

And it does not really get easier when a lot of formatting is involved:

Inline    Markdown    In    Table
italics bold strikethrough    code

Fortunately, you can also just use HTML:

Table 1: Maybe some people don't know this, but the caption of a table (unlike the caption of an image) should always go above the table!
Index Value
1 42
2 NaN

In this case, you can also use “advanced” features like <figcaption>! 🥳


Code Blocks

Sometimes you might want to present some code. This could simply look like:

print("Hello, World!")

However, Hugo also supports syntax highlighting for a large number of languages! You can customize the theme in the config.toml file. By default, the popular darcula theme is used, which contrasts well with our default colors:

def greet(name: str = "World") -> None:
    print('Hello', name)

List Types

Ordered List

  1. First item
  2. Second item
  3. Third item

Unordered List

  • List item
    • Subitem
  • Another item
  • And another item

Nested list

  • Item
    1. First Sub-item
    2. Second Sub-item

Other elements

There are a couple of more elements that might come in handy from time to time:

  • <abbr> allows you to define abbreviations, for example: “GIF is a bitmap image format that can also encode short videos. Also, people like to argue about the correct pronunciation.”
  • <sub> produces subscript text, like this: H2O.
  • <sup> will give superscript text, as in: Xn + Yn = Zn.
  • <kbd> might come in handy when talking about which buttons on a keyboard one should press. Example: “On macOS, pressing + + esc opens a little dialogue that allows you to force quit applications.”
  • <mark> can be used to highlight single words, or even entire passages, if you really think that all of it is important.

In all likelihood, there are many more elements about which I am forgetting here.


Finally: $\LaTeX$ support!

Lo and behold, we can even typeset LaTeX! Like, just in case you wanted to remind people of Maxwell’s equations in CGS units:

$$ \begin{align} \nabla \cdot \mathbf {E} &= 4 \pi \rho \newline \nabla \cdot \mathbf {B} &= 0 \newline \nabla \times \mathbf {E} &=-{\frac {1}{c}}{\frac {\partial \mathbf {B} }{\partial t}} \newline \nabla \times \mathbf {B} &={\frac {1}{c}}\left(4\pi \mathbf {J} +{\frac {\partial \mathbf {E} }{\partial t}}\right) \end{align} $$

Or how about the Einstein field equations from general relativity?

$$ G_{\mu\nu} + \Lambda g_{\mu\nu} = \kappa T^{\mu\nu} $$

Of course, all letters of the Greek alphabet, from $\Alpha$ to $\Omega$, are also available inline. Just like everything else, for example, this sum here: $\sum_{n=1}^{\infty} \frac{1}{n^2}$, which converges to 2.


  1. Yes, the very text that you are reading right now. ↩︎

  2. Well, I think so 🤷🏻‍♂️ ↩︎