Code block
Bash fitment-check + parts-API JSON snippets with deterministic per-token highlighting, four themes, copy-to-clipboard, and toggleable line numbers.
Production answer
Code block is a reusable Oak Flats Muffler Men UI primitive with documented states, accessibility expectations, theme behavior, and implementation evidence.
Primary CTAReview Code block states
Generative search brief
Code block: Bash fitment-check + parts-API JSON snippets with deterministic per-token highlighting, four themes, copy-to-clipboard, and toggleable line numbers.
Render mode · preview Edit mode · language + theme Error stateBLOCK_MEDIA_404
fitment-check.sh
#!/usr/bin/env bash
# Fitment lookup against the Mufflermen parts API
set -euo pipefail
REGO="${1:-DRL07X}"
VEHICLE=$(curl -fsS "https://parts.mufflermen.au/lookup?rego=$REGO")
echo "$VEHICLE" | jq '.exhaust.options[] | { brand, sku, fits }'
# Hot tip: pair this with the dyno script before quoting fitment-check.sh
#!/usr/bin/env bash
# Fitment lookup against the Mufflermen parts API
set -euo pipefail
REGO="${1:-DRL07X}"
VEHICLE=$(curl -fsS "https://parts.mufflermen.au/lookup?rego=$REGO")
echo "$VEHICLE" | jq '.exhaust.options[] | { brand, sku, fits }'
# Hot tip: pair this with the dyno script before quotingWe couldn't reach the workshop media bucket. Showing the cached envelope.
Retry · then escalate to ops if the DAM stays offline.