The birthday paradox
In a room of 23 people the odds two share a birthday are better than even. A clean demonstration that uses a formula, a chart, and a table, all rendered to static SVG at build time.
A Swift static site generator that renders math, charts, and diagrams to static SVG at build time. No client-side JavaScript, no web fonts, no MathJax. Write ordinary Markdown; get a fast, self-contained page.
That equation is static SVG: view source and there is no script tag and no font request for it. TileKit turns constrained Markdown into static HTML, CSS, JSON, and feeds, with browser JavaScript only for interactive tiles.
Source code: github.com/TileDown/tile-down.
This website is generated by the project it describes. The source lives under
Website/content, and the build command is the same tiledown build-site command
documented for users.
Built by TileDown
The live site is generated from Markdown folders, a built-in layout, the system theme, typed tiles, tag pages, and an RSS feed.
The counter below is not server-backed. It is a typed tile that renders HTML, theme-aware CSS, and browser JavaScript scoped to this page.
| Surface | Live coverage |
|---|---|
| Markdown profile | headings, links, images, tables, lists, code, block quotes |
| Typed tiles | callout and counter render in this site |
| Site model | folder routing, navigation, shared stylesheet, assets |
| Writing flow | canonical formatting and JSON output are documented |
| Publishing flow | Pages artifact workflow builds from source on Linux |
| Content model | posts, tags, latest posts, RSS, drafts, slug overrides |
| References | page:, post:, tag:, social:, and link: references |
See the Feature Tour for a page that exercises the visible behavior, or open the repository to inspect the implementation.
In a room of 23 people the odds two share a birthday are better than even. A clean demonstration that uses a formula, a chart, and a table, all rendered to static SVG at build time.
When a chart needs richer hover behavior, TileDown renders it as an interactive tile that ships a small script for a styled, cursor-following tooltip.
Write TeX math in a Markdown block and TileDown typesets it to static SVG at build time. No client-side JavaScript, no web font, no MathJax. The glyphs are real outlines, the layout is exact, and it follows your light or dark theme.
TileDown is a developer preview, not a production static site generator yet. The current engine and CLI are real enough to build this site, but project scaffolding, watch mode, richer tile types, and the service binding config path are still on the road map.
---
title: TileDown
description: A Swift static site generator with Markdown-canonical source and typed tiles.
image: /assets/site-preview-light.svg
imageDark: /assets/site-preview-dark.svg
latest: true
---
# TileDown
A Swift static site generator that renders math, charts, and diagrams to **static
SVG at build time**. No client-side JavaScript, no web fonts, no MathJax. Write
ordinary Markdown; get a fast, self-contained page.
$$\int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi}$$
That equation is static SVG: view source and there is no script tag and no font
request for it. TileKit turns constrained Markdown into static HTML, CSS, JSON, and
feeds, with browser JavaScript only for interactive tiles.
Source code: [github.com/TileDown/tile-down](link:repo).
This website is generated by the project it describes. The source lives under
`Website/content`, and the build command is the same `tiledown build-site` command
documented for users.
:::tile callout
title: Built by TileDown
body: The live site is generated from Markdown folders, a built-in layout, the system theme, typed tiles, tag pages, and an RSS feed.
:::
## Try a local tile
The counter below is not server-backed. It is a typed tile that renders HTML,
theme-aware CSS, and browser JavaScript scoped to this page.
:::tile counter
label: Count a local tile
:::
## What the demo covers
| Surface | Live coverage |
|:---|:---|
| Markdown profile | headings, links, images, tables, lists, code, block quotes |
| Typed tiles | `callout` and `counter` render in this site |
| Site model | folder routing, navigation, shared stylesheet, assets |
| Writing flow | canonical formatting and JSON output are documented |
| Publishing flow | Pages artifact workflow builds from source on Linux |
| Content model | posts, tags, latest posts, RSS, drafts, slug overrides |
| References | `page:`, `post:`, `tag:`, `social:`, and `link:` references |
See the [](page:features) for a page that exercises the visible behavior, or
open the [repository](link:repo) to inspect the implementation.
:::recent:::
## Status
TileDown is a developer preview, not a production static site generator yet. The
current engine and CLI are real enough to build this site, but project
scaffolding, watch mode, richer tile types, and the service binding config path
are still on the road map.