[TK: first fixture post title]
- [TK: tag 1]
- [TK: tag 2]
[TK: opening paragraph — a sentence or two introducing the post]
[TK: first h2 section heading]
[TK: paragraph body for the first section]
- [TK: unordered list item 1]
- [TK: unordered list item 2]
- [TK: unordered list item 3]
[TK: blockquote text — a pulled quote or aside relevant to this section]
[TK: h3 subsection heading, nested under the h2 above]
[TK: paragraph introducing the steps below]
- [TK: ordered list step 1]
- [TK: ordered list step 2]
- [TK: ordered list step 3]
[TK: second h2 section heading, introducing the code samples below]
[TK: paragraph introducing the TypeScript example]
function median(values: number[]): number {
if (values.length === 0) {
throw new RangeError("median() requires at least one value");
}
const sorted = [...values].sort((a, b) => a - b);
const mid = Math.floor(sorted.length / 2);
return sorted.length % 2 === 0 ? (sorted[mid - 1] + sorted[mid]) / 2 : sorted[mid];
}
[TK: paragraph mentioning median() — an inline code span, styled distinctly from the fenced block above]
[TK: paragraph introducing a shell example]
npm install && npm run check
[TK: paragraph introducing a JSON example]
{
"name": "[TK: example package name]",
"version": "0.0.0",
"private": true,
"type": "module"
}
[TK: closing paragraph, with a TK: link text to something relevant]
![[TK: image alt text describing the placeholder graphic]](/_astro/placeholder.Diwbpx1t_Z1wE2vV.webp)