1 min read
How posts work on this site
Every post is a Markdown file with a small frontmatter block:
---
title: My post
description: One-line summary used in lists, RSS and meta tags.
pubDate: 2026-12-01
tags: [python, polars]
draft: true # only visible in `bun run dev`
---
Code blocks are highlighted at build time, with separate light and dark themes:
import polars as pl
bars = (
pl.scan_parquet("ticks/*.parquet")
.group_by_dynamic("ts", every="1h")
.agg(pl.col("bid").first().alias("open"), pl.col("bid").last().alias("close"))
.collect()
)
Blockquotes, tables and inline
codeare styled too.
| Command | What it does |
|---|---|
bun run dev |
Local dev server |
bun run build |
Type-check and build |
bun run preview |
Serve the built dist |