This transmission is a live-fire range for the theme’s component arsenal. Every shortcode in layouts/shortcodes/ fires at least once below — copy the source of this file as your reference when writing new articles.
#Code Panels
Two interchangeable wrappers around Hugo’s native Chroma engine: code-block (param file) and code-terminal (param title). Both render the filename rail, language badge, line numbers, and a working copy button.
#Go — with highlighted lines
| |
#Python — via code-terminal
| |
#Bash — no line numbers
#!/usr/bin/env bash
set -euo pipefail
hugo --gc --minify
netlify deploy --prod --dir=public#YAML — front matter template
| |
Plain Markdown fences still work when you don’t need the header rail — this inline code styling comes free.
#Terminal Alerts
Five severities, palette-mapped:
#Field Notes
Marginal annotations from the operator’s notebook — violet, dashed, italic:
#Transmission Quotes
Cited pull-quotes with the HUD frame (plain Markdown > quotes still work for quick asides):
[ INTERCEPTED_TRANSMISSION ]
Improvement of daily work is even more important than daily work itself.
#Status Badges
Inline health markers work mid-sentence: the primary region is ONLINE , the reporting cluster is DEGRADED , and the legacy IDP is officially EOL .
They also slot into lists:
- Billing API — OPERATIONAL
- Batch ETL — BACKLOG
- On-prem AD — DECOMMISSION
#Data Streams
Key/value readouts instead of walls of text:
[ CUTOVER PARAMS ]
- REGION
- us-east-2
- WINDOW
- 2026-07-21T02:00Z
- RTO
- 15 min
- ROLLBACK
dc1-vip-billing- GATE
- error rate · p99 · saturation · orders/min
#Tables
No shortcode needed — plain Markdown tables are auto-themed:
| Metric | Spreadsheet era | Factory era |
|---|---|---|
| Workloads/month | 3–4 | 13 |
| Discovery effort | ~40 hrs | ~6 hrs |
| Unplanned rollbacks | (nobody counted) | 0 |
#Tactical Imagery
Drop images next to this page’s index.md (a leaf bundle) and frame them — the shortcode converts to WebP and caps width at 1200px automatically:
That’s the full arsenal. Steal the source of this post from content/posts/shortcode-field-manual.md whenever you need a syntax reminder.