Writing · · 1 min read

Formatting reference (sample, archive before launch)

A sample post showing headings, lists, code, tables and quotes, so you can see how each renders. Set its status to archived before launch.

This post exists to show how Markdown renders on the site. Set status: archived in the vault before launch.

A second-level heading

Paragraph text with bold, italic, inline code and a link to the writing page. Links between notes use Obsidian wiki links, such as Why my notes and my website live in two separate repos.

A third-level heading

  1. An ordered list item
  2. Another item
    • A nested bullet

A block quote, for when you want to call out a line from a talk or a book.

from dataclasses import dataclass


@dataclass(frozen=True)
class Route:
    model: str
    cost_per_1k_tokens: float


def cheapest(routes: list[Route]) -> Route:
    return min(routes, key=lambda r: r.cost_per_1k_tokens)
Option Latency Monthly cost
Option A Low Higher
Option B Medium Lower