Writing in the Work tab: a style guide
A living example of everything a post here can render: code, tables, callouts, math, diagrams and more. Delete it when you've seen enough.
On this page
This page is both a guide and a test. Everything below is plain Markdown in a single .md file. Create a new post with hugo new work/my-post.md, set draft: false when it’s ready, and push.
Text and structure#
Body text uses a serif face for comfortable long reading, with bold, italic, strikethrough, inline code and links. Hover a heading to reveal its permalink, and the table of contents on the right follows you as you scroll.
A good tutorial answers the question the reader would have asked, one paragraph before they ask it.
Press Ctrl + C to copy, and use highlights sparingly. Lists work as you’d expect:
- Write the draft
- Read it aloud
- Cut a third of it
- Syntax highlighting
- Footnotes1
- A post worth reading
Nested headings feed the table of contents#
Headings at levels two and three appear in the sidebar. Level four stays out of it, which is handy for small sub-points.
Code#
Fenced blocks get syntax highlighting, a language label and a copy button. Add a title to show a filename instead:
import pandas as pd
from scipy.stats import ks_2samp
def drifted(reference: pd.Series, current: pd.Series, alpha: float = 0.05) -> bool:
"""Two-sample KS test: has the distribution moved?"""
stat, p_value = ks_2samp(reference, current)
return p_value < alphahugo new work/my-first-post.md
hugo server -D # -D also shows draftsTables#
| Tool | Used for | Runs on |
|---|---|---|
| MLflow | Experiment tracking | Anywhere |
| ZenML | Pipeline orchestration | Local, cloud |
| Evidently | Drift monitoring | Batch or service |
Callouts#
The source for a callout looks like this:
{{< callout type="tip" title="Optional title" >}}
Your **Markdown** here.
{{< /callout >}}Math#
Display equations go in a fenced math block, written in LaTeX. For an M/M/1 queue with arrival rate λ and service rate μ:
Inline math uses a shortcode, like the utilisation \rho < 1 that keeps the queue stable.
Diagrams#
A fenced mermaid block becomes a diagram:
flowchart LR
A[Raw events] --> B[Feature pipeline]
B --> C[Model]
C --> D[Serving API]
D --> E[Monitoring]
E -.->|drift alert| BImages and extras#

Figures take an optional caption.
Collapsible sections work too
Useful for long outputs, optional detail or spoilers. Markdown still works in here.
Front matter reference#
title: "My post"
date: 2026-12-01
draft: false
format: "tutorial" # blog | tutorial | thought
description: "Shown on the Work page."
tags: ["mlops", "python"]
image: "/images/cover.jpg" # optional
toc: false # optional: hide the contents sidebar
font: "sans" # optional: sans body instead of serif
github_link: "https://github.com/..." # optional buttonFootnotes collect at the bottom of the page and link back to where you cited them. ↩︎