← Work thought Nov 29, 2026 3 min read

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.

  • meta
  • markdown
  • writing
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:

  1. Write the draft
  2. Read it aloud
  3. 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:

drift_check.py
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 < alpha
bash
hugo new work/my-first-post.md
hugo server -D   # -D also shows drafts

Tables#

ToolUsed forRuns on
MLflowExperiment trackingAnywhere
ZenMLPipeline orchestrationLocal, cloud
EvidentlyDrift monitoringBatch or service

Callouts#

The source for a callout looks like this:

text
{{< 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 μ:

\rho = \frac{\lambda}{\mu}, \qquad L = \frac{\rho}{1-\rho}, \qquad W = \frac{1}{\mu - \lambda}

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| B

Images and extras#

Figures take an optional caption.

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#

yaml
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 button

  1. Footnotes collect at the bottom of the page and link back to where you cited them. ↩︎