This post shows the formatting you can use in a post. Open the file content/posts/voorbeeld-opmaak/index.en.md to see how it was typed.

Text

Plain text is just typed. An empty line starts a new paragraph. You can make words bold or italic, and add a link.

A quote starts with a greater-than sign.

Lists

  • First item
  • Second item
  • Third item
  1. Step one
  2. Step two
  3. Step three

Images

Put the image in the same folder as the post and refer to it by file name only:

Sample photo

Code

Code between three backticks is coloured automatically and gets a copy button:

def greet(name):
    return f"Hello, {name}!"

print(greet("world"))

Tables

PartLocationExample
Text (NL)content/posts/<folder>/index.nl.md
Text (EN)content/posts/<folder>/index.en.md
Imagescontent/posts/<folder>/photo.jpg

Alerts

This is an alert. Other types are success, warning and danger.

Diagrams

graph LR; A[Markdown file] --> B[GitHub]; B --> C[Hugo builds the site]; C --> D[blog.stoiq.io];

Formulas

$$ E = mc^2 $$

Video

Embed a YouTube video with the ID from its link:

{{< youtube VIDEO_ID >}}